diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-22 20:41:01 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-22 20:41:01 +0000 |
commit | 8c4cbd2b1b10c4d4b76ecc6911faa0da2524d540 (patch) | |
tree | d591ead871d347e035fc2fa6c9773ed93bb369dc /amiga/gui.h | |
parent | 4c058dd92ce221db0df0bafe691f1431721b6dbd (diff) | |
download | netsurf-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/gui.h')
-rwxr-xr-x | amiga/gui.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/amiga/gui.h b/amiga/gui.h index 179d43e8c..89cd74f03 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -24,6 +24,16 @@ #include "desktop/browser.h" #include <dos/dos.h> +/* temp icon.library stuff */ +#define ICONCTRLA_SetImageDataFormat (ICONA_Dummy + 0x67) /*103*/ +#define ICONCTRLA_GetImageDataFormat (ICONA_Dummy + 0x68) /*104*/ + +/* Values for ICONCTRLA_Set/GetImageDataFormat */ +#define IDFMT_BITMAPPED (0) /* Bitmapped icon (planar, legacy) */ +#define IDFMT_PALETTEMAPPED (1) /* Palette mapped icon (chunky, V44+) */ +#define IDFMT_DIRECTMAPPED (2) /* Direct mapped icon (truecolor 0xAARRGGBB, V51+) */ +/* temp icon.library stuff */ + void ami_get_msg(void); enum |