aboutsummaryrefslogtreecommitdiffstats
path: root/renderer.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-05-02 12:22:30 -0400
committerSam Anthony <sam@samanthony.xyz>2025-05-02 12:22:30 -0400
commitcb1183751aa25069560923948a0a6de300e6ac9c (patch)
treef2bd33a2391d70c058d570964996428a4d1ecb26 /renderer.c
parent5df9fecb029c740e151235ebbfb4835f21bd8313 (diff)
downloadvolute-cb1183751aa25069560923948a0a6de300e6ac9c.zip
color.h
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,