aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-11-01 19:34:45 +0300
committerspl3g <spleefer6@yandex.ru>2025-11-01 19:34:45 +0300
commitb5bd5840744a0a3e36b1be8f9ab95492d1005bca (patch)
tree290ff4822cf0a5fb430a7b63d0f604de22fff5c0 /src/ui.h
parenta468f82c2d967999c1723381f4066933faebcef6 (diff)
Show the waves! (badly)
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui.h b/src/ui.h
index daf4596..e6316f8 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -14,6 +14,8 @@
#include "clay.h"
#include "messages.h"
+#include "defines.h"
+
static const Clay_Color COLOR_BG = (Clay_Color){45, 53, 59, 255};
static const Clay_Color COLOR_BG_INTER = (Clay_Color){52, 63, 68, 255};
static const Clay_Color COLOR_FG = (Clay_Color){211, 198, 170, 255};
@@ -43,11 +45,14 @@ typedef struct {
} KnobSettings;
typedef struct {
+ Arena *arena;
message_queue *msg_queue;
+ float *wave_buffer;
+ size_t wave_buffer_size;
+
KeyState *keys;
size_t keys_amount;
KnobSettings *knob_settings;
- Arena *arena;
float scale;
} UIData;