summaryrefslogtreecommitdiff
path: root/atari/rootwin.h
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-12-06 00:26:00 +0100
committerOle Loots <ole@monochrom.net>2012-12-06 00:26:00 +0100
commit434befd25b116286766732891f8eb83600f2b3bd (patch)
tree31618cfefb8329cfe004d2481d00bba5f0e72b74 /atari/rootwin.h
parent16812b0522a94adf22b868d303cbecb706af06cd (diff)
downloadnetsurf-434befd25b116286766732891f8eb83600f2b3bd.tar.gz
netsurf-434befd25b116286766732891f8eb83600f2b3bd.tar.bz2
Implement mouse move event handling
Diffstat (limited to 'atari/rootwin.h')
-rwxr-xr-xatari/rootwin.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/atari/rootwin.h b/atari/rootwin.h
index 7eb55393c..5f42a18b3 100755
--- a/atari/rootwin.h
+++ b/atari/rootwin.h
@@ -28,10 +28,15 @@
#define WIDGET_TOOLBAR 0x2
#define WIDGET_SCROLL 0x4
#define WIDGET_RESIZE 0x8
-
#define WIN_TOP 0x100
+
+enum browser_area_e {
+ BROWSER_AREA_CONTENT = 1,
+ BROWSER_AREA_STATUSBAR,
+ BROWSER_AREA_TOOLBAR,
+ BROWSER_AREA_URL_INPUT
+};
-/* WinDom & Custom bindings for gui window */
/* -------------------------------------------------------------------------- */
/* Public module functions: */
@@ -70,6 +75,7 @@ void window_schedule_redraw_grect(ROOTWIN *rootwin, GRECT *area);
void window_process_redraws(ROOTWIN * rootwin);
struct gui_window * window_get_active_gui_window(ROOTWIN * rootwin);
void window_get_scroll(ROOTWIN *rootwin, int *x, int *y);
+void window_get_grect(ROOTWIN *rootwin, enum browser_area_e which, GRECT *d);
void window_redraw_favicon(struct s_gui_win_root * rootwin, GRECT *clip);
void window_unref_gui_window(ROOTWIN *rootwin, struct gui_window *gw);
bool window_key_input(unsigned short kcode, unsigned short kstate,