From 286a128e1b6188958da439132911f9e7ede163ad Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 29 Apr 2012 15:59:37 +0000 Subject: 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 --- amiga/gui.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'amiga/gui.h') 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 + * Copyright 2008-2012 Chris Young * * 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; -- cgit v1.2.3