From a63a2d5ac3d408e5057df15ff6cded7ae410b283 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 3 Feb 2022 10:54:07 +0000 Subject: feat: implement a working, alright ui --- include/viv/ui.h | 4 ++-- include/viv/viv.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 -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); -- cgit v1.2.3