Added support for HSV color space
This commit is contained in:
parent
05f52a5b79
commit
0c81a94a37
3 changed files with 60 additions and 1 deletions
|
@ -53,6 +53,13 @@ namespace sdlu
|
|||
*/
|
||||
Uint32 ToInt();
|
||||
|
||||
/**
|
||||
* @brief Generate color from HSV values
|
||||
*
|
||||
* @return An RGBA Color object generated from HSV
|
||||
*/
|
||||
static Color& FromHSV(Uint16 h, Uint8 s, Uint8 v);
|
||||
|
||||
|
||||
/////////////////// DEFAULT COLORS ///////////////////
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue