1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef BG_STYLE_H #define BG_STYLE_H #include <SDL.h> // SDL_Color typedef struct { struct { int base, scale, 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 */