diff options
author | Ole Loots <ole@monochrom.net> | 2011-06-30 20:20:27 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-06-30 20:20:27 +0000 |
commit | 5639e1e04772db96a7772ec8ba4facf5bf5e6d40 (patch) | |
tree | e142919bcb59213ac2d1f8be06376bd72cd0d844 /atari/gui.h | |
parent | e9d4b68e2820529b41678173d43815d12f2cd69e (diff) | |
download | netsurf-5639e1e04772db96a7772ec8ba4facf5bf5e6d40.tar.gz netsurf-5639e1e04772db96a7772ec8ba4facf5bf5e6d40.tar.bz2 |
removed preparations for frames. (will be handled within the core)
svn path=/trunk/netsurf/; revision=12550
Diffstat (limited to 'atari/gui.h')
-rwxr-xr-x | atari/gui.h | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/atari/gui.h b/atari/gui.h index df9d782ee..270d3df23 100755 --- a/atari/gui.h +++ b/atari/gui.h @@ -81,20 +81,10 @@ struct s_focus_info void * element; }; -/* -struct s_gui_input_state { - short mbut; - short mkstat; - short mx; - short my; - browser_mouse_state bms; -} prev_inp_state; -*/ - /* defines for data attached to components: */ -#define CDT_OBJECT 0x004f424aUL -#define CDT_OWNER 0x03UL -#define CDT_ICON 0x04UL +#define CDT_OBJECT 0x004f424aUL +#define CDT_OWNER 0x03UL +#define CDT_ICON 0x04UL #define CDT_ICON_TYPE 0x05UL @@ -107,10 +97,10 @@ typedef struct s_toolbar * CMP_TOOLBAR; typedef struct s_statusbar * CMP_STATUSBAR; typedef struct s_browser * CMP_BROWSER; -/* - This is the "main" window. It can consist of several components +/* + This is the "main" window. It can consist of several components and also holds information shared by several frames within - the window. Each frame, no matter how deep nested, + the window. Each frame, no matter how deep nested, knows about it's root (GEM window). */ struct s_gui_win_root @@ -127,17 +117,16 @@ struct s_gui_win_root GRECT loc; /* current size of window on screen */ }; -/* - This is the part of the gui which is known by netsurf core. - You must implement it. Altough, you are free how to do it. - Each of the browser "viewports" managed by netsurf are bound - to this structure. gui_window does not mean that it is an - comple window - also frames own an gui_window. +/* + This is the part of the gui which is known by netsurf core. + You must implement it. Altough, you are free how to do it. + Each of the browser "viewports" managed by netsurf are bound + to this structure. gui_window does not mean that it is an + comple window - also frames own an gui_window. */ struct gui_window { struct s_gui_win_root * root; CMP_BROWSER browser; - struct gui_window * parent; struct gui_window *next, *prev; }; |