aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/graphics.cpp
diff options
context:
space:
mode:
authorKari Salminen2007-08-03 18:20:58 +0000
committerKari Salminen2007-08-03 18:20:58 +0000
commitff8ed07958a3c75c1cd909d4cdd2849c8b76cd14 (patch)
tree4b25579cd7a544cbbbaa9fef395b05d5a82bd4a1 /engines/agi/graphics.cpp
parent055e6654e55f6d8d1f53527b9397865c35d2f0bd (diff)
downloadscummvm-rg350-ff8ed07958a3c75c1cd909d4cdd2849c8b76cd14.tar.gz
scummvm-rg350-ff8ed07958a3c75c1cd909d4cdd2849c8b76cd14.tar.bz2
scummvm-rg350-ff8ed07958a3c75c1cd909d4cdd2849c8b76cd14.zip
Added Apple IIGS arrow cursor data.
svn-id: r28436
Diffstat (limited to 'engines/agi/graphics.cpp')
-rw-r--r--engines/agi/graphics.cpp22
1 files changed, 21 insertions, 1 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp
index b9e8971e13..b6430e0f81 100644
--- a/engines/agi/graphics.cpp
+++ b/engines/agi/graphics.cpp
@@ -911,7 +911,27 @@ static const byte sciMouseCursor[] = {
};
/**
- * RGBA-palette for the black and white SCI-style arrow cursor.
+ * A black and white Apple IIGS style arrow cursor (9x11).
+ * 0 = Transparent.
+ * 1 = Black (#000000 in 24-bit RGB).
+ * 2 = White (#FFFFFF in 24-bit RGB).
+ */
+static const byte appleIIgsMouseCursor[] = {
+ 2,2,0,0,0,0,0,0,0,
+ 2,1,2,0,0,0,0,0,0,
+ 2,1,1,2,0,0,0,0,0,
+ 2,1,1,1,2,0,0,0,0,
+ 2,1,1,1,1,2,0,0,0,
+ 2,1,1,1,1,1,2,0,0,
+ 2,1,1,1,1,1,1,2,0,
+ 2,1,1,1,1,1,1,1,2,
+ 2,1,1,2,1,1,2,2,0,
+ 2,2,2,0,2,1,1,2,0,
+ 0,0,0,0,0,2,2,2,0
+};
+
+/**
+ * RGBA-palette for the black and white SCI and Apple IIGS arrow cursors.
*/
static const byte sciMouseCursorPalette[] = {
0x00, 0x00, 0x00, 0x00, // Black