diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-04-03 22:01:37 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-04-03 22:01:37 +0000 |
commit | 2ca6e9a3e6bd7450cd1fb80db3a777956c804e11 (patch) | |
tree | 846451c0e1e57bbf901a183c15a4c2866643e033 /windows/gui.h | |
parent | 74ffc40e9238c9897ae47b8118f642565e9654a0 (diff) | |
download | netsurf-2ca6e9a3e6bd7450cd1fb80db3a777956c804e11.tar.gz netsurf-2ca6e9a3e6bd7450cd1fb80db3a777956c804e11.tar.bz2 |
split out drawable window handling
extensive cleanups
fix localhistory
svn path=/trunk/netsurf/; revision=12153
Diffstat (limited to 'windows/gui.h')
-rw-r--r-- | windows/gui.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/windows/gui.h b/windows/gui.h index 957d9a520..9bcba592e 100644 --- a/windows/gui.h +++ b/windows/gui.h @@ -24,7 +24,7 @@ #include "desktop/gui.h" #include "windows/localhistory.h" -extern HINSTANCE hinstance; +extern HINSTANCE hInstance; /* bounding box */ typedef struct bbox_s { @@ -50,15 +50,6 @@ struct nsws_pointers { HCURSOR arrow; }; -struct browser_mouse { - struct gui_window *gui; - struct box *box; - - double pressed_x; - double pressed_y; - bool waiting; - browser_mouse_state state; -}; extern struct gui_window *window_list; extern char *options_file_location; @@ -84,8 +75,12 @@ int gui_window_scrollingy(struct gui_window *w); struct gui_window *gui_window_iterate(struct gui_window *); struct browser_window *gui_window_browser_window(struct gui_window *); + struct nsws_pointers *nsws_get_pointers(void); -HICON nsws_window_get_ico(bool); + +void nsws_window_init_pointers(HINSTANCE hinstance); + +nserror nsws_create_main_class(HINSTANCE hinstance); /** * Cause a browser window to navigate to a url |