summaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 25ac537..6c22238 100644
--- a/ui.h
+++ b/ui.h
@@ -2,6 +2,7 @@
#define UI_H
#include "str.h"
+#include "dynarr.h"
typedef enum {
UI_REDRAW,
@@ -37,9 +38,11 @@ typedef struct {
};
} UiEvent;
+typedef DYNARR(Str) UiOpts;
+
void ui_init(int argc, char **argv);
void ui_fini(void);
-void ui_draw(Str input, int inpi, int seli, Str *optv, int optc);
+void ui_draw(Str input, int inpi, int seli, UiOpts o);
int ui_wait_event(UiEvent *e);
#endif