diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-02-28 19:31:35 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-02-28 19:31:35 +0000 |
commit | 4a174fd6706497b41007ad3c862286c926ef88b6 (patch) | |
tree | c30357c8f64698cc4603ef57be1b50c583b0c11b /amiga/context_menu.h | |
parent | c03890339ecf69b577927e100b3fa69eb1227a53 (diff) | |
download | netsurf-4a174fd6706497b41007ad3c862286c926ef88b6.tar.gz netsurf-4a174fd6706497b41007ad3c862286c926ef88b6.tar.bz2 |
Allow context menus in arbitrary positions outside the browsing area.
Add a Local History item to a new back button context menu, eventually this will give
a recent history list.
svn path=/trunk/netsurf/; revision=11858
Diffstat (limited to 'amiga/context_menu.h')
-rwxr-xr-x | amiga/context_menu.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/amiga/context_menu.h b/amiga/context_menu.h index 5e6bed88a..d95cd2628 100755 --- a/amiga/context_menu.h +++ b/amiga/context_menu.h @@ -20,30 +20,8 @@ #define AMIGA_CONTEXT_MENU_H #include "amiga/gui.h" -enum { - CMID_SELECTFILE, - CMID_COPYURL, - CMID_URLOPENWIN, - CMID_URLOPENTAB, - CMID_SAVEURL, - CMID_SHOWOBJ, - CMID_COPYOBJ, - CMID_CLIPOBJ, - CMID_SAVEOBJ, - CMID_SAVEIFFOBJ, - CMID_SELALL, - CMID_SELCLEAR, - CMID_SELCUT, - CMID_SELCOPY, - CMID_SELPASTE, - CMID_SELSEARCH, - CMSUB_OBJECT, - CMSUB_URL, - CMSUB_SEL, - CMID_LAST -}; - void ami_context_menu_init(void); void ami_context_menu_free(void); -void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y); +BOOL ami_context_menu_mouse_trap(struct gui_window_2 *gwin, BOOL trap); +void ami_context_menu_show(struct gui_window_2 *gwin, int x, int y); #endif |