summaryrefslogtreecommitdiff
path: root/amiga/options.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-25 16:37:08 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-10-25 16:37:08 +0000
commit2f4beda48c9780739ecdab639b47299108265d66 (patch)
tree4a4a6af1a91138db85a74099064953d21d5419ba /amiga/options.h
parent5624bf590ded22d8b2d85753fd189b7e6c6443ea (diff)
downloadnetsurf-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/options.h')
-rw-r--r--amiga/options.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/options.h b/amiga/options.h
index 56086be4c..74fd76ca7 100644
--- a/amiga/options.h
+++ b/amiga/options.h
@@ -29,6 +29,7 @@ extern char *option_theme;
extern bool option_no_iframes;
extern bool option_utf8_clipboard;
extern bool option_context_menu;
+extern bool option_sticky_context_menu;
extern bool option_truecolour_mouse_pointers;
extern bool option_use_os_pointers;
extern bool option_force_tabs;
@@ -45,7 +46,8 @@ int option_modeid = 0; \
char *option_theme = 0; \
bool option_no_iframes = false; \
bool option_utf8_clipboard = false; \
-bool option_context_menu = false; \
+bool option_context_menu = true; \
+bool option_sticky_context_menu = true; \
bool option_truecolour_mouse_pointers = true; \
bool option_use_os_pointers = false; \
bool option_force_tabs = false; \
@@ -63,6 +65,7 @@ char *option_recent_file = 0; \
{ "no_iframes", OPTION_BOOL, &option_no_iframes}, \
{ "clipboard_write_utf8", OPTION_BOOL, &option_utf8_clipboard}, \
{ "context_menu", OPTION_BOOL, &option_context_menu}, \
+{ "sticky_context_menu", OPTION_BOOL, &option_sticky_context_menu}, \
{ "truecolour_mouse_pointers", OPTION_BOOL, &option_truecolour_mouse_pointers}, \
{ "os_mouse_pointers", OPTION_BOOL, &option_use_os_pointers}, \
{ "always_open_tabs", OPTION_BOOL, &option_force_tabs}, \