summaryrefslogtreecommitdiff
path: root/amiga/options.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-09-22 20:41:01 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-09-22 20:41:01 +0000
commit8c4cbd2b1b10c4d4b76ecc6911faa0da2524d540 (patch)
treed591ead871d347e035fc2fa6c9773ed93bb369dc /amiga/options.h
parent4c058dd92ce221db0df0bafe691f1431721b6dbd (diff)
downloadnetsurf-8c4cbd2b1b10c4d4b76ecc6911faa0da2524d540.tar.gz
netsurf-8c4cbd2b1b10c4d4b76ecc6911faa0da2524d540.tar.bz2
32-bit mouse pointer support.
The pointer imagery are the icon files of the 4-colour custom text file images. Tooltypes XOFFSET and YOFFSET specify the "point" of the image. The 32-bit pointers can be disabled by setting option truecolour_mouse_pointers:0 The OS pointers (for "Default" and "Wait" only) can be used by setting os_mouse_pointers:1 Deleting the relevant files has the same effect :) This complete set of 32-bit images is drawn by Martin Merz (Mason). The code to read them is derived from sample code by Joerg Strohmayer. svn path=/trunk/netsurf/; revision=5401
Diffstat (limited to 'amiga/options.h')
-rw-r--r--amiga/options.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/amiga/options.h b/amiga/options.h
index 40ad24d69..4859ba084 100644
--- a/amiga/options.h
+++ b/amiga/options.h
@@ -29,6 +29,8 @@ extern char *option_toolbar_images;
extern bool option_no_iframes;
extern bool option_utf8_clipboard;
extern int option_throbber_frames;
+extern bool option_truecolour_mouse_pointers;
+extern bool option_use_os_pointers;
#define EXTRA_OPTION_DEFINE \
bool option_verbose_log = false; \
@@ -39,7 +41,9 @@ int option_modeid = 0; \
char *option_toolbar_images = 0; \
bool option_no_iframes = false; \
bool option_utf8_clipboard = false; \
-int option_throbber_frames = 1;
+int option_throbber_frames = 1; \
+bool option_truecolour_mouse_pointers = true; \
+bool option_use_os_pointers = false; \
#define EXTRA_OPTION_TABLE \
{ "verbose_log", OPTION_BOOL, &option_verbose_log}, \
@@ -50,5 +54,7 @@ int option_throbber_frames = 1;
{ "toolbar_images", OPTION_STRING, &option_toolbar_images }, \
{ "no_iframes", OPTION_BOOL, &option_no_iframes}, \
{ "clipboard_write_utf8", OPTION_BOOL, &option_utf8_clipboard}, \
-{ "throbber_frames", OPTION_INTEGER, &option_throbber_frames},
+{ "throbber_frames", OPTION_INTEGER, &option_throbber_frames}, \
+{ "truecolour_mouse_pointers", OPTION_BOOL, &option_truecolour_mouse_pointers}, \
+{ "os_mouse_pointers", OPTION_BOOL, &option_use_os_pointers},
#endif