|
Torque2D Reference
|
#include <gPalette.h>
Public Types | |
| enum | PaletteType { RGB, RGBA } |
Public Member Functions | |
| GPalette () | |
| virtual | ~GPalette () |
| PaletteType | getPaletteType () const |
| void | setPaletteType (const PaletteType pt) |
| const ColorI * | getColors () const |
| ColorI * | getColors () |
| const ColorI & | getColor (const U32 in_index) const |
| ColorI & | getColor (const U32 in_index) |
| bool | readMSPalette (Stream &io_rStream) |
| bool | readMSPalette (const char *in_pFileName) |
| bool | writeMSPalette (Stream &io_rStream) const |
| bool | writeMSPalette (const char *in_pFileName) const |
| bool | read (Stream &io_rStream) |
| bool | write (Stream &io_rStream) const |
Protected Attributes | |
| PaletteType | m_paletteType |
| ColorI | m_pColors [256] |
| enum PaletteType |
| GPalette | ( | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool read | ( | Stream & | io_rStream | ) |
| bool readMSPalette | ( | Stream & | io_rStream | ) |
| bool readMSPalette | ( | const char * | in_pFileName | ) |
|
inline |
| bool write | ( | Stream & | io_rStream | ) | const |
| bool writeMSPalette | ( | Stream & | io_rStream | ) | const |
| bool writeMSPalette | ( | const char * | in_pFileName | ) | const |
|
protected |
|
protected |
1.8.3.1