#include <dye.h>
Definition at line 31 of file dye.h.
Public Member Functions | |
| DyePalette (const std::string &pallete) | |
| Creates a palette based on the given string. | |
| void | getColor (int intensity, int color[3]) const |
| Gets a pixel color depending on its intensity. | |
Private Attributes | |
| std::vector< Color > | mColors |
Classes | |
| struct | Color |
| DyePalette::DyePalette | ( | const std::string & | pallete | ) |
| void DyePalette::getColor | ( | int | intensity, | |
| int | color[3] | |||
| ) | const |
std::vector< Color > DyePalette::mColors [private] |
1.5.5