Add a const "getData" access method to Palette.

svn-id: r41880
This commit is contained in:
Johannes Schickel 2009-06-25 19:56:02 +00:00
parent b21dd2cb43
commit 7a7babad77

View File

@ -147,6 +147,7 @@ public:
* TODO: Get rid of this.
*/
uint8 *getData() { return _palData; }
const uint8 *getData() const { return _palData; }
private:
uint8 *_palData;
const int _numColors;