diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-08-09 15:19:04 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-08-09 15:19:04 +0000 |
commit | 93bf14ab81f8532bd3f834978d772e78c1470fb0 (patch) | |
tree | 5ee047360a1f71a7ffc1050231a679f9111e5ab7 /amiga/gui.h | |
parent | 1a9ef46863b6d70b585cdbd7205fdbd97c1ef3c7 (diff) | |
download | netsurf-93bf14ab81f8532bd3f834978d772e78c1470fb0.tar.gz netsurf-93bf14ab81f8532bd3f834978d772e78c1470fb0.tar.bz2 |
Added support for multiple windows.
svn path=/trunk/netsurf/; revision=4972
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-x | amiga/gui.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/amiga/gui.h b/amiga/gui.h index 5a971b0bf..a8c8e28af 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -19,14 +19,46 @@ #ifndef AMIGA_GUI_H #define AMIGA_GUI_H #include <graphics/rastport.h> +#include "amiga/object.h" +#include <intuition/classusr.h> void ami_get_msg(void); +enum +{ + GID_MAIN=0, + GID_BROWSER, + GID_STATUS, + GID_URL, + GID_STOP, + GID_RELOAD, + GID_HOME, + GID_BACK, + GID_FORWARD, + GID_THROBBER, + GID_LAST +}; + +enum +{ + WID_MAIN=0, + WID_LAST +}; + +enum +{ + OID_MAIN=0, + OID_LAST +}; + struct gui_window { struct Window *win; struct browser_window *bw; struct BitMap *bm; struct RastPort rp; + Object *objects[OID_LAST]; + struct Gadget *gadgets[GID_LAST]; + struct nsObject *node; }; struct gui_window *curwin; |