scroller work, everything improv

This commit is contained in:
Krzosa Karol
2025-01-31 09:26:23 +01:00
parent 9808d435d5
commit 644bb896ac
11 changed files with 481 additions and 386 deletions

View File

@@ -12,7 +12,6 @@ struct ui_id_t {
typedef struct ui_box_flags_t ui_box_flags_t;
struct ui_box_flags_t {
// :ui_box_flags_t - change those places when modifying this
b8 draw_rect: 1;
b8 draw_border: 1;
b8 draw_text: 1;
@@ -80,6 +79,7 @@ struct ui_box_t {
s8_t string;
v2f32_t string_size;
ui_box_flags_t flags;
b8 created_new;
ui_custom_draw_t *custom_draw;
ui_lop_t lop;
@@ -107,7 +107,6 @@ struct ui_signal_t {
v2f32_t drag;
struct {
b8 clicked: 1;
b8 press: 1;
b8 dragging: 1;
b8 text_changed: 1;