Functions | |
static void | initialize (void) |
Variables | |
static Lox::Colours::EType | lastUsedGradient = Lox::Colours::kUnknown |
The most recently used gradient is remembered for when Lox::Colours::getNextGradient() is called. More... | |
static Lox::VStr | vAllColours |
static Lox::VStr | vBlueToPink |
static Lox::VStr | vColourPairs |
static Lox::VStr | vDark |
static Lox::VStr | vGreenToPurple |
static Lox::VStr | vLight |
static Lox::VStr | vPurpleToOrange |
static Lox::VStr | vYellowToBlue |
static Lox::VStr | vYellowToBlueDark |
static Lox::VStr | vYellowToBlueLight |
static Lox::VStr | vYellowToGreen |
static Lox::VStr | vYellowToPurple |
|
static |
This method is automatically called internally to populate the various vectors of colours. Once allocated, the vectors are not freed until the static objects are destroyed, and thus will show up in Valgrind. This is a static allocation, not a memory leak.
See web sites such as http://www.perbang.dk/rgbgradient/
References vAllColours, vBlueToPink, vColourPairs, vDark, vGreenToPurple, vLight, vPurpleToOrange, vYellowToBlue, vYellowToBlueDark, vYellowToBlueLight, vYellowToGreen, and vYellowToPurple.
Referenced by Lox::Exception::Exception(), Lox::Colours::getRandomColour(), and Lox::Colours::getSet().
|
static |
The most recently used gradient is remembered for when Lox::Colours::getNextGradient() is called.
Referenced by Lox::Colours::getNextGradient(), Lox::Colours::getRandomGradient(), and Lox::Colours::getSet().
|
static |
Referenced by Lox::Colours::getRandomColour(), Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().
|
static |
Referenced by Lox::Colours::getSet(), and initialize().