diff options
author | Matthew Hoops | 2012-05-14 00:49:10 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-05-14 09:56:56 -0400 |
commit | d789df894552bf73709628f09a0282b462df797e (patch) | |
tree | 221de03284a568a9db5f54a88754bdb0aa3b8241 /graphics/decoders/image_decoder.h | |
parent | c3f0a426fcbe2c8991b29c0e4bda1e7f0c9263b9 (diff) | |
download | scummvm-rg350-d789df894552bf73709628f09a0282b462df797e.tar.gz scummvm-rg350-d789df894552bf73709628f09a0282b462df797e.tar.bz2 scummvm-rg350-d789df894552bf73709628f09a0282b462df797e.zip |
GRAPHICS: Add palette start index and color count functions to ImageDecoder
Diffstat (limited to 'graphics/decoders/image_decoder.h')
-rw-r--r-- | graphics/decoders/image_decoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/decoders/image_decoder.h b/graphics/decoders/image_decoder.h index e768f7f9a2..7fa00749ff 100644 --- a/graphics/decoders/image_decoder.h +++ b/graphics/decoders/image_decoder.h @@ -78,6 +78,11 @@ public: * @return the decoded palette, or 0 if no palette is present */ virtual const byte *getPalette() const { return 0; } + + /** Return the starting index of the palette. */ + virtual byte getPaletteStartIndex() const { return 0; } + /** Return the number of colors in the palette. */ + virtual uint16 getPaletteColorCount() const { return 0; } }; } // End of namespace Graphics |