|
|
void | Load (const std::string &colorFile) |
| |
|
UTILS::COLOR::Color | GetColor (const std::string &color) const |
| |
|
void | Clear () |
| |
| bool | LoadColorsListFromXML (const std::string &filePath, std::vector< std::pair< std::string, UTILS::COLOR::ColorInfo >> &colors, bool sortColors) |
| | Load a colors list from a XML file. More...
|
| |
|
|
std::map< std::string, UTILS::COLOR::Color > | m_colors |
| |
◆ LoadColorsListFromXML()
| bool CGUIColorManager::LoadColorsListFromXML |
( |
const std::string & |
filePath, |
|
|
std::vector< std::pair< std::string, UTILS::COLOR::ColorInfo >> & |
colors, |
|
|
bool |
sortColors |
|
) |
| |
Load a colors list from a XML file.
- Parameters
-
| filePath | The path to the XML file |
| colors | The vector to populate |
| sortColors | if true the colors will be sorted in a hue scale |
- Returns
- true if success, otherwise false
The documentation for this class was generated from the following files: