summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-xamiga/gui.h32
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;