aboutsummaryrefslogtreecommitdiff
path: root/lib/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui.h')
-rw-r--r--lib/ui.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ui.h b/lib/ui.h
index 90b352f..12ee2f4 100644
--- a/lib/ui.h
+++ b/lib/ui.h
@@ -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));
-