text input, everything lister

This commit is contained in:
Krzosa Karol
2025-01-30 13:51:46 +01:00
parent f7a97d1583
commit 9808d435d5
2 changed files with 107 additions and 18 deletions

View File

@@ -104,10 +104,15 @@ struct ui_box_t {
typedef struct ui_signal_t ui_signal_t;
struct ui_signal_t {
ui_box_t *box;
b8 clicked;
b8 press;
b8 dragging;
v2f32_t drag;
struct {
b8 clicked: 1;
b8 press: 1;
b8 dragging: 1;
b8 text_changed: 1;
b8 text_commit: 1;
};
};
typedef struct ui_t ui_t;