aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-02-17 11:41:23 +0100
committergabrielgio <gabrielgio@workstation.lan>2024-02-17 16:48:54 +0100
commitd102e028aee6571c0fd9dfd4074cfb3c15f4594e (patch)
treee0f3bdadc96019de0a7576ea591f8b304a962e67 /ui.h
parentc573d3b7954296d95a0f8a79b8ac2ca261d86a02 (diff)
downloaddict-d102e028aee6571c0fd9dfd4074cfb3c15f4594e.tar.gz
dict-d102e028aee6571c0fd9dfd4074cfb3c15f4594e.tar.bz2
dict-d102e028aee6571c0fd9dfd4074cfb3c15f4594e.zip
ref: Refactor newer folder structure
Create a lib dict and importer project. * dict: holds the main application * importer: code to read from source to a common database. * lib: shared code
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/ui.h b/ui.h
deleted file mode 100644
index cdc0539..0000000
--- a/ui.h
+++ /dev/null
@@ -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);
-