summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-04 09:40:59 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-04 09:40:59 +0100
commit9e43f84427b7a79bd56d56b46fbd341e1a161cfb (patch)
tree56964eebf95613f4c36e8f2d6fce01fb04a71767 /src/ui.h
parent3f1aed9d71d10f5a7430b8720c6a1e93630b4477 (diff)
work
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h11
1 files changed, 1 insertions, 10 deletions
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);