diff options
author | rexim <reximkut@gmail.com> | 2024-03-14 02:33:53 +0700 |
---|---|---|
committer | rexim <reximkut@gmail.com> | 2024-03-14 02:33:53 +0700 |
commit | ed9fa76925909f94512ef70280b90712e35c3ab7 (patch) | |
tree | 96d4e2a6258a468d37b6b61c43ce7b132aec19e3 /raylib.ads | |
parent | b081abc78ef9fd0c511b35eeabffdddba61cdd43 (diff) |
Introduce rough implementation of the palette editor
Diffstat (limited to 'raylib.ads')
-rw-r--r-- | raylib.ads | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -66,6 +66,7 @@ package Raylib is KEY_A: constant int := 65; KEY_D: constant int := 68; KEY_P: constant int := 80; + KEY_O: constant int := 79; KEY_SPACE: constant int := 32; function Is_Key_Pressed(key: int) return C_bool with @@ -146,4 +147,14 @@ package Raylib is Import => True, Convention => C, External_Name => "ColorBrightness"; + function Color_To_HSV(C: Color) return Vector3 + with + Import => True, + Convention => C, + External_Name => "ColorToHSV"; + function Color_From_HSV(Hue, Saturation, Value: C_Float) return Color + with + Import => True, + Convention => C, + External_Name => "ColorFromHSV"; end Raylib; |