From 30f0bbd2569c3ae19799f3a31ed90a0062fc8f2c Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 31 Aug 2008 17:34:00 +0000 Subject: Basic user-configurable pointer image support. GUI_POINTER_DEFAULT and GUI_POINTER_WAIT still use the Amiga system default pointers, and will not be overridden by NetSurf. Pointer imagery lives in Resources/Pointers and the filenames are all defined in the ptrs array at the top of gui.c, in the same order as in gui_pointer_shape - with the exception of GUI_POINTER_DEFAULT (this instead points to a "Blank" pointer for hiding the pointer) and GUI_POINTER_WAIT (reserved for future use, currently points to "Wait" but this will change). The file format is very simple. It is a text file containing 16 rows of 16 characters, with a newline or CR (or, in fact, any character as this is not checked) terminating each row. The seventeenth row indicates the pixel on which the "point" is set, as two digit X direction, a space, then two digits for the Y direction. Pointers/Point is based on the hand2 image by Andreas Kuerzinger (the original is in the AKPointerz.lha archive on Aminet) svn path=/trunk/netsurf/; revision=5227 --- amiga/resources/Pointers/Blank | 17 +++++++++++++++++ amiga/resources/Pointers/Point | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100755 amiga/resources/Pointers/Blank create mode 100755 amiga/resources/Pointers/Point (limited to 'amiga/resources') diff --git a/amiga/resources/Pointers/Blank b/amiga/resources/Pointers/Blank new file mode 100755 index 000000000..5bfa69363 --- /dev/null +++ b/amiga/resources/Pointers/Blank @@ -0,0 +1,17 @@ +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +0000000000000000 +00 00 diff --git a/amiga/resources/Pointers/Point b/amiga/resources/Pointers/Point new file mode 100755 index 000000000..b49696c80 --- /dev/null +++ b/amiga/resources/Pointers/Point @@ -0,0 +1,17 @@ +0000002200000000 +0000023320000000 +0000023320000000 +0000023320000000 +0000023322000000 +0000023323220000 +0220023323232200 +2332023323232320 +2333223333332320 +0233323333333320 +0023323333333320 +0023333333333320 +0002333333333200 +0000233333333200 +0000023333332000 +0000022222222000 +06 00 \ No newline at end of file -- cgit v1.2.3