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/wincursor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'graphics/wincursor.h') diff --git a/graphics/wincursor.h b/graphics/wincursor.h index 6e2567662b..974341f196 100644 --- a/graphics/wincursor.h +++ b/graphics/wincursor.h @@ -54,7 +54,10 @@ public: byte getKeyColor() const; 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); -- cgit v1.2.3