aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/ui.h b/ui.h
index b75ad41..c6102e6 100644
--- a/ui.h
+++ b/ui.h
@@ -6,9 +6,8 @@
#define UICB_OK 0
#define UICB_ERR_UNDEF 1
-#define UICB_ERR_NOP 2
-#define UICB_ERR_CB 3
-#define UICB_ERR_BUF 4
+#define UICB_ERR_CB 2
+#define UICB_ERR_BUF 3
#define UILOOP_TIMEOUT 1
@@ -21,11 +20,10 @@
#define UIKEY_RIGHT 5
-typedef int (*ui_callback)(WINDOW *, void *, bool, bool);
+typedef int (*ui_callback)(WINDOW *, void *, bool);
struct nask_ui {
ui_callback ui_elt_cb;
- bool do_update;
WINDOW *wnd;
void *data;
struct nask_ui *next;