filters
Swinder::PaletteRecord Class Reference
#include <excel.h>
Inheritance diagram for Swinder::PaletteRecord:

Detailed Description
Class PaletteRecord lists colors.
Definition at line 2083 of file excel.h.
Public Member Functions | |
unsigned int | rtti () |
PaletteRecord () | |
~PaletteRecord () | |
Color | color (unsigned i) const |
unsigned | count () const |
virtual void | setData (unsigned size, const unsigned char *data) |
virtual const char * | name () |
virtual void | dump (std::ostream &out) const |
Static Public Attributes | |
static const unsigned int | id |
Constructor & Destructor Documentation
|
Creates a new Palette record.
|
|
Destroy the record.
|
Member Function Documentation
|
Gets the n-th color.
|
|
Returns the number of colors in the palette.
|
|
Dumps record information to output stream. For debugging only. Reimplemented from Swinder::Record. |
|
Returns the name of the record. For debugging only. Reimplemented from Swinder::Record. |
|
Sets the data for this record.
Reimplemented from Swinder::Record. |
Member Data Documentation
|
Static ID of the record. Subclasses should override this value with the id of the record they handle. Reimplemented from Swinder::Record. |
The documentation for this class was generated from the following file: