diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-04 09:40:59 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-04 09:40:59 +0100 |
| commit | 9e43f84427b7a79bd56d56b46fbd341e1a161cfb (patch) | |
| tree | 56964eebf95613f4c36e8f2d6fce01fb04a71767 /src/ui.h | |
| parent | 3f1aed9d71d10f5a7430b8720c6a1e93630b4477 (diff) | |
work
Diffstat (limited to 'src/ui.h')
| -rw-r--r-- | src/ui.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -145,16 +145,6 @@ typedef struct t_ui_context bool item_hovered; } ui_context; -///// our global ui states //// -checkbox_state checkbox_recursive; -textbox_state textbox_search_text; -textbox_state textbox_path; -textbox_state textbox_file_filter; -button_state button_select_directory; -button_state button_find_text; -button_state button_cancel; -/////////////////////////////// - ui_context global_ui_context; u32 ui_get_id(); @@ -169,6 +159,7 @@ char* name_of_month(s32 month); void ui_set_style(u16 style); void set_active_textbox(textbox_state *textbox); void ui_set_textbox_text(textbox_state *textbox, char *text); +void ui_set_textbox_active(textbox_state *textbox); // widget initialization checkbox_state ui_create_checkbox(bool selected); |
