aboutsummaryrefslogtreecommitdiff
path: root/ui_input.h
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2015-10-26 00:30:52 +0100
committertoni <toni@devlap.local>2015-11-02 13:10:59 +0100
commit1c8d37efdba437ab42d3d14257b7eb6adf7f2e4f (patch)
treee081f761a89ce2640c42c7e0649c0230c1651b7a /ui_input.h
parent659f5274b607a1d8da3e3b30662442de764e9d7a (diff)
exported UI IPC
Diffstat (limited to 'ui_input.h')
-rw-r--r--ui_input.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui_input.h b/ui_input.h
index e65d560..be93864 100644
--- a/ui_input.h
+++ b/ui_input.h
@@ -16,6 +16,7 @@ struct input {
char *prompt;
chtype attrs;
chtype shadow;
+ ui_input_callback cb_input;
};
struct input *
@@ -37,6 +38,9 @@ int
input_cb(WINDOW *win, void *data, bool timed_out);
void
-register_input(WINDOW *win, struct input *a);
+register_input(WINDOW *win, struct input *a, ui_input_callback uin);
+
+void
+unregister_input(struct input *a);
#endif