diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-11-09 20:43:50 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-11-09 20:43:50 +0300 |
| commit | fc326115fa154bc19f3f10d7c2c4e57710ef1e0d (patch) | |
| tree | 53ea067805d79d578a258fb0c347aa1525ab2dc2 /src/ui.h | |
| parent | 11e5f50717af85f775491a5d2a2867a7e0f9c45f (diff) | |
Move to sokol (broke the wave screen)
Diffstat (limited to 'src/ui.h')
| -rw-r--r-- | src/ui.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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; |
