summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-08-18 19:07:12 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-08-18 19:07:12 +0000
commit0e78a116f66773b56a2b3044af6f575092786258 (patch)
treeb0c39fcf74b68c24b72b2e5ce1daa49ed8d838b4 /amiga/gui.h
parent679e5dcbe6f875e29e8687ffcd51477d49b955f7 (diff)
downloadnetsurf-0e78a116f66773b56a2b3044af6f575092786258.tar.gz
netsurf-0e78a116f66773b56a2b3044af6f575092786258.tar.bz2
Implemented mouse dragging and code for select forms (which works but the menu is not
created with the correct entries yet). Now looks in options for screen and window size and position. svn path=/trunk/netsurf/; revision=5153
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-xamiga/gui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/gui.h b/amiga/gui.h
index 35f8205a1..8f1329999 100755
--- a/amiga/gui.h
+++ b/amiga/gui.h
@@ -21,6 +21,7 @@
#include <graphics/rastport.h>
#include "amiga/object.h"
#include <intuition/classusr.h>
+#include "desktop/browser.h"
void ami_get_msg(void);
@@ -50,6 +51,7 @@ enum
OID_MAIN=0,
OID_VSCROLL,
OID_HSCROLL,
+ OID_MENU,
OID_LAST
};
@@ -62,8 +64,11 @@ struct gui_window {
struct Gadget *gadgets[GID_LAST];
struct nsObject *node;
struct Hook scrollerhook;
+ struct Hook popuphook;
+ struct form_control *control;
bool redraw_required;
union content_msg_data *redraw_data;
+ browser_mouse_state mouse_state;
};
//struct gui_window *curwin;