From 2f4beda48c9780739ecdab639b47299108265d66 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 25 Oct 2008 16:37:08 +0000 Subject: Complete (but quite minimal at the moment) context menu implementation for AmigaOS: Links, objects and upload file boxes have their own menu item or submenu. Context menus can be enable/disabled and be made "sticky" with the following options: context_menu sticky_context_menu Seperated clipboard related code out to clipboard.c to make it easier to maintain and add the ability to copy URLs to the clipboard. Copying images to the clipboard will come later. svn path=/trunk/netsurf/; revision=5629 --- amiga/context_menu.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'amiga/context_menu.h') diff --git a/amiga/context_menu.h b/amiga/context_menu.h index e244c7b50..195896b92 100755 --- a/amiga/context_menu.h +++ b/amiga/context_menu.h @@ -23,10 +23,16 @@ enum { CMID_SELECTFILE, CMID_COPYURL, - CMID_SAVEURL, + CMID_URLOPENWIN, + CMID_URLOPENTAB, CMID_SHOWOBJ, - CMID_SAVEOBJ + CMID_COPYOBJ, + CMSUB_OBJECT, + CMSUB_URL, + 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); #endif -- cgit v1.2.3