Several simple methods to handle collections of similar colours. More...
Namespaces | |
Lox | |
Common methods and functionality easily shared between projects. | |
Lox::Colours | |
Several simple methods to handle collections of similar colours. | |
Functions | |
std::string | Lox::Colours::getNextColour (Lox::VStr &v) |
Get the next available colour from the specified set. More... | |
Lox::VStr | Lox::Colours::getNextGradient (const bool reverse=false, const size_t skip=0) |
Get the next gradient set. More... | |
std::string | Lox::Colours::getRandomColour (void) |
Get a random colour from all the known colours. More... | |
std::string | Lox::Colours::getRandomColour (Lox::VStr &v) |
Get a random colour from the specified set. More... | |
Lox::VStr | Lox::Colours::getRandomGradient (const size_t skip=0) |
Get a random gradient set. More... | |
Lox::VStr | Lox::Colours::getSet (const EType type, const bool reverse=false, const size_t skip=0) |
Get a pre-defined colour set. More... | |
Several simple methods to handle collections of similar colours.