diff options
author | gabrielgio <gabrielgio@workstation.lan> | 2024-02-17 17:13:07 +0100 |
---|---|---|
committer | gabrielgio <gabrielgio@workstation.lan> | 2024-02-17 17:13:07 +0100 |
commit | 0a2e62f57734f820cd20e151d1150342408552ed (patch) | |
tree | e1e9c786571bf1d856ba42c4c6cf014b008822c4 /lib/ui.h | |
parent | 78b0ba12073b0940541d91a7568e8b7ada572848 (diff) | |
download | dict-0a2e62f57734f820cd20e151d1150342408552ed.tar.gz dict-0a2e62f57734f820cd20e151d1150342408552ed.tar.bz2 dict-0a2e62f57734f820cd20e151d1150342408552ed.zip |
ref: Apply astyle --style=linux
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)); - |