diff options
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -1,22 +0,0 @@ -#include <ncurses.h> - -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); - - -typedef struct text_box { - wchar_t *text; - int length; - int current; - WINDOW *scr; -} TEXT_BOX; - -TEXT_BOX* new_text_box(WINDOW*, int); -void get_char(TEXT_BOX* text); - |