|
Color | KODI::UTILS::COLOR::ChangeOpacity (const Color argb, const float opacity) |
| Change the opacity of a given ARGB color.
|
|
Color | KODI::UTILS::COLOR::ConvertToRGBA (const Color argb) |
| Convert given ARGB color to RGBA color value.
|
|
Color | KODI::UTILS::COLOR::ConvertToARGB (const Color rgba) |
| Convert given RGBA color to ARGB color value.
|
|
Color | KODI::UTILS::COLOR::ConvertToBGR (const Color argb) |
| Convert given ARGB color to BGR color value.
|
|
Color | KODI::UTILS::COLOR::ConvertHexToColor (const std::string &hexColor) |
| Convert given hex value to Color value.
|
|
Color | KODI::UTILS::COLOR::ConvertIntToRGB (int r, int g, int b) |
| Convert given RGB int values to RGB color value.
|
|
ColorInfo | KODI::UTILS::COLOR::MakeColorInfo (const Color &argb) |
| Create a ColorInfo from an ARGB Color to get additional information of the color and allow to be sorted with a color comparer.
|
|
ColorInfo | KODI::UTILS::COLOR::MakeColorInfo (const std::string &hexColor) |
| Create a ColorInfo from an HEX color value to get additional information of the color and allow to be sorted with a color comparer.
|
|
bool | KODI::UTILS::COLOR::comparePairColorInfo (const std::pair< std::string, ColorInfo > &a, const std::pair< std::string, ColorInfo > &b) |
| Comparer for pair string/ColorInfo to sort colors in a hue scale.
|
|
ColorFloats | KODI::UTILS::COLOR::ConvertToFloats (const Color argb) |
| Convert given ARGB color to ColorFloats.
|
|
std::string | KODI::UTILS::COLOR::ConvertToHexRGB (const Color argb) |
| Convert given ARGB color to hex RGB color value.
|
|