22 #ifndef IMAGE_IMAGEDECODER_H 23 #define IMAGE_IMAGEDECODER_H 25 #include "common/scummsys.h" 26 #include "common/str.h" 27 #include "graphics/palette.h" 30 class SeekableReadStream;
78 virtual void destroy() = 0;
105 virtual bool hasPalette()
const {
return !getPalette().empty(); }
120 virtual bool hasMask()
const {
return getMask() != 0; }
Definition: image_decoder.h:53
virtual bool hasPalette() const
Definition: image_decoder.h:105
virtual bool hasTransparentColor() const
Definition: image_decoder.h:108
Definition: algorithm.h:29
Definition: formatinfo.h:28
virtual bool hasMask() const
Definition: image_decoder.h:120
virtual uint32 getTransparentColor() const
Definition: image_decoder.h:110
virtual const Graphics::Surface * getMask() const
Definition: image_decoder.h:115
Simple class for handling a palette data.
Definition: palette.h:55
Definition: movie_decoder.h:32