From 8c4cbd2b1b10c4d4b76ecc6911faa0da2524d540 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 22 Sep 2008 20:41:01 +0000 Subject: 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 --- amiga/options.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'amiga/options.h') 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 -- cgit v1.2.3