From b010a257712b3d104035cbfc15aba8f517ffacb5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 4 Jun 2010 09:35:08 +0000 Subject: + 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 --- beos/beos_gui.cpp | 4 ++-- beos/beos_window.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'beos') 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" -- cgit v1.2.3