]> git.lizzy.rs Git - nothing.git/blobdiff - src/color.h
(#813) Implement player_layer_render
[nothing.git] / src / color.h
index f3a0e120d0b116376c9dee5483c3945867ff9e81..d169df2cf5bfe84a591e5cceaafd45e5943268f3 100644 (file)
@@ -8,12 +8,13 @@ typedef struct Color {
 } Color;
 
 Color rgba(float r, float g, float b, float a);
-// TODO: color_from_hexstr -> hexstr
-Color color_from_hexstr(const char *hexstr);
+Color hexstr(const char *hexstr);
 SDL_Color color_for_sdl(Color color);
 
 Color color_darker(Color color, float d);
 
 Color color_desaturate(Color color);
 
+Color color_invert(Color c);
+
 #endif  // COLOR_H_