diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-04-29 15:59:37 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-04-29 15:59:37 +0000 |
commit | 286a128e1b6188958da439132911f9e7ede163ad (patch) | |
tree | 29c40ece74384d62cfa85d3bfac8e56beb7eec29 /amiga/gui.h | |
parent | 2d854c549ca1469d3b9303c4f2e108f1964ab531 (diff) | |
download | netsurf-286a128e1b6188958da439132911f9e7ede163ad.tar.gz netsurf-286a128e1b6188958da439132911f9e7ede163ad.tar.bz2 |
Change menus so menu functions are called internally by window.class
(RA_HandleInput). This makes menu selection more reliable and stops us
missing menu events which appeared to be getting lost within the
HANDLEINPUT method.
svn path=/trunk/netsurf/; revision=13898
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-x | amiga/gui.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/gui.h b/amiga/gui.h index 74a51e248..01588c790 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -1,5 +1,5 @@ /* - * Copyright 2008-2010 Chris Young <chris@unsatisfactorysoftware.co.uk> + * Copyright 2008-2012 Chris Young <chris@unsatisfactorysoftware.co.uk> * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -94,6 +94,7 @@ struct gui_window_2 { bool new_content; char *menulab[AMI_MENU_AREXX_MAX + 1]; char menukey[AMI_MENU_AREXX_MAX + 1]; + struct Hook menu_hook[AMI_MENU_AREXX_MAX + 1]; UBYTE *menutype; struct NewMenu *menu; ULONG hotlist_items; @@ -106,6 +107,8 @@ struct gui_window_2 { struct AppIcon *appicon; /* iconify appicon */ struct DiskObject *dobj; /* iconify appicon */ struct Hook search_ico_hook; + struct Hook favicon_hook; + struct Hook throbber_hook; gui_drag_type drag_op; struct IBox *ptr_lock; struct AppWindow *appwin; |