diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-04-15 22:16:28 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-04-15 22:16:28 +0200 |
commit | 6dd0c4747aa57227b5898fc639e3f2b643ce013c (patch) | |
tree | e43ee077469b5c28fcf46dba51eb03e53214fad5 /lib/ui.h | |
parent | 6ed576974dec969ad2745a451a6f680a3cdbcfc4 (diff) | |
download | dict-6dd0c4747aa57227b5898fc639e3f2b643ce013c.tar.gz dict-6dd0c4747aa57227b5898fc639e3f2b643ce013c.tar.bz2 dict-6dd0c4747aa57227b5898fc639e3f2b643ce013c.zip |
feat: Remove C implementation
Diffstat (limited to 'lib/ui.h')
-rw-r--r-- | lib/ui.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/ui.h b/lib/ui.h deleted file mode 100644 index 271105a..0000000 --- a/lib/ui.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once -#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, void (*sch)(char*, int)); - -typedef struct panel -{ - WINDOW *scr; -} PANEL; - - -PANEL* new_panel(WINDOW*); -void write_char(PANEL*, int, char*); |