Color palette loaded from bitmap.
#include <srl_bitmap.hpp>
Public Member Functions | |
Palette (size_t count) | |
Construct a new Palette object. | |
Palette (SRL::Types::HighColor *colors, size_t count) | |
Construct a new Palette object. | |
~Palette () | |
Destroy the Palette object. | |
Public Attributes | |
SRL::Types::HighColor * | Colors |
Palette colors. | |
size_t | Count |
Number of colors in the palette. | |
|
inline |
Construct a new Palette object.
count | Number of colors in the palette |
|
inline |