From 0a2e62f57734f820cd20e151d1150342408552ed Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sat, 17 Feb 2024 17:13:07 +0100 Subject: ref: Apply astyle --style=linux --- lib/ui.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/ui.h') 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 -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)); - -- cgit v1.2.3