]> git.lizzy.rs Git - nothing.git/blobdiff - src/color.h
Merge pull request #505 from tsoding/108
[nothing.git] / src / color.h
index 42db83ca5161d6c25c4f3e95f32757c4c753576c..3740b5fbcb29afac1f5ab7ea1d472a8e8894d923 100644 (file)
@@ -7,9 +7,8 @@ typedef struct Color {
     float r, g, b, a;
 } Color;
 
-Color color(float r, float g, float b, float a);
-Color color256(Uint8 r, Uint8 g, Uint8 b, Uint8 a);
-Color color_from_hexstr(const char *hexstr);
+Color rgba(float r, float g, float b, float a);
+Color hexstr(const char *hexstr);
 SDL_Color color_for_sdl(Color color);
 
 Color color_darker(Color color, float d);