horiscroller
This commit is contained in:
@@ -17,7 +17,6 @@ struct ui_box_flags_t {
|
||||
b8 draw_text: 1;
|
||||
b8 clip_rect: 1;
|
||||
|
||||
b8 dont_compute_rect: 1;
|
||||
b8 keyboard_nav: 1;
|
||||
};
|
||||
|
||||
@@ -76,6 +75,7 @@ struct ui_box_t {
|
||||
|
||||
ui_code_loc_t loc;
|
||||
s8_t string;
|
||||
v2f32_t string_size;
|
||||
|
||||
ui_box_flags_t flags;
|
||||
b8 created_new;
|
||||
@@ -170,4 +170,3 @@ fn void ui_set_rect(ui_box_t *box, r2f32_t rect) { box->rect = box->full_rect =
|
||||
|
||||
fn ui_id_t ui_id(s8_t string);
|
||||
fn ui_id_t ui_idf(char *str, ...);
|
||||
fn v2f32_t ui_aligned_text_pos(f32 string_pos_offset, ui_text_align_t text_align, r2f32_t rect, s8_t string);
|
||||
Reference in New Issue
Block a user