GRAPHICS: Add cursor palette start/count functions

This commit is contained in:
Matthew Hoops 2011-08-16 00:19:29 -04:00
parent 1793d92c8b
commit 91ae23ebf2
3 changed files with 11 additions and 0 deletions

View file

@ -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