From 9e43f84427b7a79bd56d56b46fbd341e1a161cfb Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Tue, 4 Feb 2020 09:40:59 +0100 Subject: work --- src/ui.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/ui.h') diff --git a/src/ui.h b/src/ui.h index 396f523..c172a8c 100644 --- a/src/ui.h +++ b/src/ui.h @@ -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); -- cgit v1.2.3-70-g09d2