|
const Common::String & | getName () |
|
void | setName (const Common::String &name) |
|
| 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) |
|
Palette & | operator= (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 |
|
The documentation for this class was generated from the following file: