diff options
Diffstat (limited to 'src/sdl/bg-style.h')
-rw-r--r-- | src/sdl/bg-style.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/sdl/bg-style.h b/src/sdl/bg-style.h new file mode 100644 index 0000000..c4ca9a5 --- /dev/null +++ b/src/sdl/bg-style.h @@ -0,0 +1,21 @@ +#ifndef BG_STYLE_H +#define BG_STYLE_H + +#include <SDL.h> // SDL_Color + +typedef struct { + struct { + int base, + amplitude, + phase, + period; + } r, g, b, a; +} bg_style_t; + +SDL_Color +bg_style_get_color( + const bg_style_t * const, + const Uint32 +); + +#endif /* BG_STYLE_H */ |