]> git.lizzy.rs Git - nothing.git/blob - src/color.h
Merge pull request #96 from tsoding/93-pause-state
[nothing.git] / src / color.h
1 #ifndef COLOR_H_
2 #define COLOR_H_
3
4 typedef struct SDL_Color SDL_Color;
5
6 typedef struct color_t {
7     float r, g, b, a;
8 } color_t;
9
10 color_t color(float r, float g, float b, float a);
11 SDL_Color color_for_sdl(color_t color);
12
13 color_t color_desaturate(color_t color);
14
15 #endif  // COLOR_H_