diff options
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#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); |