summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-06-04 09:35:08 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-06-04 09:35:08 +0000
commitb010a257712b3d104035cbfc15aba8f517ffacb5 (patch)
treeba220c9c0c2c02ea1a8441ad8ace44d4c0bc5164 /beos
parentbc9fef0a1a7a45a640d37353f97e72006e1e09b6 (diff)
downloadnetsurf-b010a257712b3d104035cbfc15aba8f517ffacb5.tar.gz
netsurf-b010a257712b3d104035cbfc15aba8f517ffacb5.tar.bz2
+ Refactor input handling from browser window code into content
handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
Diffstat (limited to 'beos')
-rw-r--r--beos/beos_gui.cpp4
-rw-r--r--beos/beos_window.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/beos/beos_gui.cpp b/beos/beos_gui.cpp
index 471f4e9ea..83af4b682 100644
--- a/beos/beos_gui.cpp
+++ b/beos/beos_gui.cpp
@@ -805,8 +805,8 @@ void gui_download_window_done(struct gui_download_window *dw)
static void nsbeos_select_menu_clicked(BCheckMenuItem *checkmenuitem,
gpointer user_data)
{
- browser_window_form_select(select_menu_bw, select_menu_control,
- (intptr_t)user_data);
+ form_select_process_selection(select_menu_bw->current_content,
+ select_menu_control, (intptr_t)user_data);
}
#endif
diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp
index 5a9ddf2bf..23c63635f 100644
--- a/beos/beos_window.cpp
+++ b/beos/beos_window.cpp
@@ -23,6 +23,7 @@
extern "C" {
#include "content/urldb.h"
#include "desktop/browser.h"
+#include "desktop/mouse.h"
#include "desktop/options.h"
#include "desktop/selection.h"
#include "desktop/textinput.h"