diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-10-25 16:37:08 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-10-25 16:37:08 +0000 |
commit | 2f4beda48c9780739ecdab639b47299108265d66 (patch) | |
tree | 4a4a6af1a91138db85a74099064953d21d5419ba /amiga/context_menu.h | |
parent | 5624bf590ded22d8b2d85753fd189b7e6c6443ea (diff) | |
download | netsurf-2f4beda48c9780739ecdab639b47299108265d66.tar.gz netsurf-2f4beda48c9780739ecdab639b47299108265d66.tar.bz2 |
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
Diffstat (limited to 'amiga/context_menu.h')
-rwxr-xr-x | amiga/context_menu.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 |