]> git.lizzy.rs Git - nothing.git/blobdiff - src/color.h
Add TODO(#1248)
[nothing.git] / src / color.h
index 4c2dde30ea3d11cdd7ca23bbc6650558ffec58a2..338a068dd14013388b52c41d6e841948255014a1 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <stdio.h>
 #include <SDL.h>
+#include "./system/s.h"
 
 #define COLOR_BLACK rgba(0.0f, 0.0f, 0.0f, 1.0f)
 #define COLOR_WHITE rgba(1.0f, 1.0f, 1.0f, 1.0f)
@@ -16,6 +17,7 @@ Color rgba(float r, float g, float b, float a);
 Color hsla(float h, float s, float l, float a);
 Color rgba_to_hsla(Color color);
 Color hexstr(const char *hexstr);
+Color hexs(String input);
 SDL_Color color_for_sdl(Color color);
 
 int color_hex_to_stream(Color color, FILE *stream);