aboutsummaryrefslogtreecommitdiffstats
path: root/renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'renderer.c')
-rw-r--r--renderer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/renderer.c b/renderer.c
index c40fcf8..6cda9d1 100644
--- a/renderer.c
+++ b/renderer.c
@@ -7,6 +7,7 @@
#include <SDL2/SDL_image.h>
#include "microui.h"
#include "renderer.h"
+#include "color.h"
#define expect(x) do { \
@@ -41,7 +42,7 @@ enum { CIRCLE_RADIUS = 16 };
static const char FONT[] = "font/P052-Roman.ttf";
enum font { FONTSIZE = 14, };
-static const mu_Color bg = {255, 255, 255, 255};
+static const mu_Color bg = WHITE;
static const char button_map[256] = {
[SDL_BUTTON_LEFT & 0xff] = MU_MOUSE_LEFT,