text input, everything lister
This commit is contained in:
11
src/ui/ui.h
11
src/ui/ui.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user