#include <palette.h>
Public Member Functions | |
PaletteItem () | |
PaletteItem (const Color &color, const String &name, int weight=1) | |
PaletteItem (const Color &color, int weight=1) | |
void | add (const Color &x, int weight=1) |
bool | operator< (const PaletteItem &rhs) const |
Public Attributes | |
Color | color |
String | name |
int | weight |
synfig::PaletteItem::PaletteItem | ( | ) | [inline] |
synfig::PaletteItem::PaletteItem | ( | const Color & | color, | |
const String & | name, | |||
int | weight = 1 | |||
) | [inline] |
synfig::PaletteItem::PaletteItem | ( | const Color & | color, | |
int | weight = 1 | |||
) | [inline] |
bool synfig::PaletteItem::operator< | ( | const PaletteItem & | rhs | ) | const [inline] |
References weight.
Referenced by add(), synfig::Palette::load_from_file(), and luma_less_than().
Referenced by synfig::Palette::load_from_file().
Referenced by add(), operator<(), and weight_less_than().