aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 8035d6f..cdc0539 100644
--- a/ui.h
+++ b/ui.h
@@ -7,5 +7,16 @@ typedef struct progress_bar {
} 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);
+