From 91ae23ebf2967433d17457fbfc41cfb6200a924e Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 16 Aug 2011 00:19:29 -0400 Subject: GRAPHICS: Add cursor palette start/count functions --- graphics/maccursor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'graphics/maccursor.h') 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); -- cgit v1.2.3