aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2016-07-27 12:47:09 +0200
committertoni <matzeton@googlemail.com>2016-07-27 12:47:09 +0200
commitc1ba57fd4da5f14ecf583ee5381005f85b2bbed2 (patch)
tree8c1a782e480ad099814cedb8ff622deaeebda355 /src/ui.h
parent4424d17b812e1159552d9217cc491e4947d42424 (diff)
refactoring
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/ui.h b/src/ui.h
index eb558f9..7ab95fa 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -70,6 +70,12 @@ activate_ui_input(void *data);
int
deactivate_ui_input(void *data);
+bool
+process_key(char key);
+
+int
+do_ui_update(bool timed_out);
+
void
ui_thrd_force_update(bool force_all, bool timedout);
@@ -79,17 +85,20 @@ ui_thrd_suspend(void);
void
ui_thrd_resume(void);
-WINDOW *
-init_ui(void);
+int
+run_ui_thrd(void);
-void
-free_ui(void);
+int
+stop_ui_thrd(void);
char ui_wgetch(int timeout);
int ui_wgetchtest(int timeout, char testchar);
-int
-do_ui(void);
+WINDOW *
+init_ui(void);
+
+void
+free_ui(void);
#endif