Palette defining entry. More...
#include <palette.hpp>
Public Member Functions | |
Entry (const Color &color, double val) | |
bool | operator< (const Entry &e) const |
Public Attributes | |
Color | _color |
Entry colors. | |
double | _val |
Entry values. |
Palette defining entry.
An entry containing color-value pair, which are used for defining palettes.
Palette::Entry::Entry | ( | const Color & | color, | |
double | val | |||
) |
bool Palette::Entry::operator< | ( | const Entry & | e | ) | const |
Entry colors.
double Palette::Entry::_val |
Entry values.