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/cursor.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics/cursor.h') diff --git a/graphics/cursor.h b/graphics/cursor.h index 9d839c12ce..b04d9c04e2 100644 --- a/graphics/cursor.h +++ b/graphics/cursor.h @@ -49,8 +49,13 @@ public: /** Return the cursor's surface. */ virtual const byte *getSurface() const = 0; + /** Return the cursor's palette in RGB format. */ virtual const byte *getPalette() const = 0; + /** Return the starting index of the palette. */ + virtual byte getPaletteStartIndex() const = 0; + /** Return the number of colors in the palette. */ + virtual uint16 getPaletteCount() const = 0; }; } // End of namespace Graphics -- cgit v1.2.3