Public Member Functions | |
| Palette (const Palette &pal) | |
| void | clone (const Palette &pal) |
| void | makeBlack () |
| void | setEntries (byte *data, uint first, uint num) |
| void | getEntry (uint index, int &red, int &green, int &blue) |
| void | setEntry (uint index, int red, int green, int blue) |
| void | makeGrayscale () |
| void | fadeTo (const Palette &target, uint step) |
| uint | fillRGB (byte *rgb) |
| void | rotate (uint first, uint last, bool forward) |