ScummVM API documentation
Dgds::DgdsPal Class Reference
Inheritance diagram for Dgds::DgdsPal:
Graphics::Palette

Public Member Functions

const Common::StringgetName ()
 
void setName (const Common::String &name)
 
- Public Member Functions inherited from Graphics::Palette
 Palette (uint size)
 Construct a new Palette object. More...
 
 Palette (const byte *data, uint size)
 Construct a new Palette object. More...
 
 Palette (const Palette &p)
 
Paletteoperator= (const Palette &rhs)
 
bool operator== (const Palette &rhs) const
 
bool operator!= (const Palette &rhs) const
 
bool equals (const Palette &p) const
 
bool contains (const Palette &p) const
 
const byte * data () const
 
uint size () const
 
void set (uint entry, byte r, byte g, byte b)
 
void get (uint entry, byte &r, byte &g, byte &b) const
 
uint find (byte r, byte g, byte b) const
 
byte findBestColor (byte r, byte g, byte b, bool useNaiveAlg=false) const
 
void clear ()
 
void set (const byte *colors, uint start, uint num)
 
void set (const Palette &p, uint start, uint num)
 
void grab (byte *colors, uint start, uint num) const
 
void grab (Palette &p, uint start, uint num) const
 

Additional Inherited Members

- Static Public Member Functions inherited from Graphics::Palette
static Palette createEGAPalette ()
 
- Static Public Attributes inherited from Graphics::Palette
static const uint16 npos = 0xFFFF
 

The documentation for this class was generated from the following file: