aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ui.h b/src/ui.h
index d9ecbf4..bfae0c0 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -4,13 +4,12 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
-
-#include <SDL3/SDL_scancode.h>
-#include <SDL3/SDL_keycode.h>
+#include <math.h>
#include "arena.h"
+#include "sokol/sokol_app.h"
-#include "clay_renderer_SDL3.h"
+#include "custom_elements.h"
#include "clay.h"
#include "messages.h"
@@ -24,7 +23,7 @@ static const Clay_Color COLOR_ACCENT = (Clay_Color){133, 146, 137, 255};
typedef struct {
char letter;
- SDL_Keycode keycode;
+ sapp_keycode keycode;
bool mouse_pressed;
bool keyboard_pressed;
} KeyState;