aboutsummaryrefslogtreecommitdiff
path: root/graphics/maccursor.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-08-16 00:19:29 -0400
committerMatthew Hoops2011-08-16 00:19:29 -0400
commit91ae23ebf2967433d17457fbfc41cfb6200a924e (patch)
tree93b5080af4bd7c7bbd5ec0544aa36e7b3f2b22eb /graphics/maccursor.h
parent1793d92c8ba7b08cc3891dcc567923eb9f5a721e (diff)
downloadscummvm-rg350-91ae23ebf2967433d17457fbfc41cfb6200a924e.tar.gz
scummvm-rg350-91ae23ebf2967433d17457fbfc41cfb6200a924e.tar.bz2
scummvm-rg350-91ae23ebf2967433d17457fbfc41cfb6200a924e.zip
GRAPHICS: Add cursor palette start/count functions
Diffstat (limited to 'graphics/maccursor.h')
-rw-r--r--graphics/maccursor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/maccursor.h b/graphics/maccursor.h
index a6c8fc95ce..f5efc20655 100644
--- a/graphics/maccursor.h
+++ b/graphics/maccursor.h
@@ -57,7 +57,10 @@ public:
byte getKeyColor() const { return 0xFF; }
const byte *getSurface() const { return _surface; }
+
const byte *getPalette() const { return _palette; }
+ byte getPaletteStartIndex() const { return 0; }
+ uint16 getPaletteCount() const { return 256; }
/** Read the cursor's data out of a stream. */
bool readFromStream(Common::SeekableReadStream &stream, bool forceMonochrome = false);