diff options
Diffstat (limited to 'lib/ui.h')
-rw-r--r-- | lib/ui.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,8 @@ #pragma once #include <ncurses.h> -typedef struct progress_bar { +typedef struct progress_bar +{ float total; float current; WINDOW *scr; @@ -10,8 +11,8 @@ typedef struct progress_bar { PROGRESS_BAR* new_progress_bar(WINDOW*, float); void bar_step(PROGRESS_BAR*, float); - -typedef struct text_box { +typedef struct text_box +{ wchar_t *text; int length; int current; @@ -20,4 +21,3 @@ typedef struct text_box { TEXT_BOX* new_text_box(WINDOW*, int); void get_char(TEXT_BOX* text, void (*sch)(char*, int)); - |