From cd0f70f86d1cedffcd1bacf57d9250fdff1f7af3 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 13 Jan 2019 08:29:12 -0500 Subject: refactor sok-sdl, add zoom and warp_buf support --- src/sdl/color.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/sdl/color.h (limited to 'src/sdl/color.h') diff --git a/src/sdl/color.h b/src/sdl/color.h new file mode 100644 index 0000000..5cff762 --- /dev/null +++ b/src/sdl/color.h @@ -0,0 +1,20 @@ +#ifndef COLOR_H +#define COLOR_H + +#include + +typedef enum { + COLOR_BG, + COLOR_BG_WON, + COLOR_WALL, + COLOR_GOAL, + COLOR_HOME, + COLOR_HOME_GOAL, + COLOR_BOX, + COLOR_BOX_GOAL, + COLOR_LAST, +} color_t; + +_Bool set_color(SDL_Renderer * const, const color_t); + +#endif /* COLOR_H */ -- cgit v1.2.3