From 3967b61dfbee50d2072ddefced877486ce439582 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Wed, 14 Feb 2024 11:59:10 +0100 Subject: feat: Add buggy ui component --- ui.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ui.h (limited to 'ui.h') diff --git a/ui.h b/ui.h new file mode 100644 index 0000000..8035d6f --- /dev/null +++ b/ui.h @@ -0,0 +1,11 @@ +#include + +typedef struct progress_bar { + float total; + float current; + WINDOW *scr; +} PROGRESS_BAR; + +PROGRESS_BAR* new_progress_bar(WINDOW*, float); + +void bar_step(PROGRESS_BAR*, float); -- cgit v1.2.3