aboutsummaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2016-07-29 15:30:00 +0200
committertoni <matzeton@googlemail.com>2016-07-29 15:30:00 +0200
commit78e05eba11d08be64460a829e452d99da91800d7 (patch)
tree7b831495b613f1630039ef6da68095d1f0ac59e1 /src/ui.h
parentca97cbf8cd9daecc8bd80e84e761e539029bac57 (diff)
foo
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui.h b/src/ui.h
index 7ab95fa..1c77ee7 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -29,6 +29,7 @@
typedef int (*uicb_base)(WINDOW *, void *, bool);
typedef int (*uicb_input)(WINDOW *, void *, int);
+typedef int (*uicb_update)(bool);
struct ui_callbacks {
@@ -73,9 +74,6 @@ 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);
@@ -96,7 +94,7 @@ char ui_wgetch(int timeout);
int ui_wgetchtest(int timeout, char testchar);
WINDOW *
-init_ui(void);
+init_ui(uicb_update on_update_callback);
void
free_ui(void);