diff options
| author | Fuwn <[email protected]> | 2022-02-03 10:54:07 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-02-03 10:54:07 +0000 |
| commit | a63a2d5ac3d408e5057df15ff6cded7ae410b283 (patch) | |
| tree | f7298bf67f00fd3857df43224da50c7975b7f79b /include | |
| parent | feat(log): coloured logging (diff) | |
| download | viv-a63a2d5ac3d408e5057df15ff6cded7ae410b283.tar.xz viv-a63a2d5ac3d408e5057df15ff6cded7ae410b283.zip | |
feat: implement a working, alright ui
Diffstat (limited to 'include')
| -rw-r--r-- | include/viv/ui.h | 4 | ||||
| -rw-r--r-- | include/viv/viv.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/viv/ui.h b/include/viv/ui.h index 26ff4b4..3b37a42 100644 --- a/include/viv/ui.h +++ b/include/viv/ui.h @@ -8,8 +8,8 @@ #include <curses.h> -void UI_initialise(void); +void UI_initialise(char *[], int); /* void UI_free(void); */ -void UI_print_in_middle(WINDOW *, int, int, int, char *, chtype); +/* void UI_print_in_middle(WINDOW *, int, int, int, char *, chtype); */ #endif /* VIV_UI_H */ diff --git a/include/viv/viv.h b/include/viv/viv.h index bbb608c..2bd2546 100644 --- a/include/viv/viv.h +++ b/include/viv/viv.h @@ -13,6 +13,7 @@ typedef void(*split_fn)(const char *, int, void *); int VIV_exit(int, const char *, ...); /* http://www.martinbroadhurst.com/split-a-string-in-c.html */ void VIV_split(const char *, char, split_fn, void *); +void VIV_add_to_dynamic_array(const char *, int, void *); char *strsep(char **__restrict, const char *__restrict); |