aboutsummaryrefslogtreecommitdiff
path: root/client/ui.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-06 19:48:09 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-06 19:48:09 +0200
commitae8beb20a2a837824cfda4d748fbe07b26a161f0 (patch)
treea7c2bf5fc6cbddc1ae62107050dcc6aa793cc7ae /client/ui.h
parent8c1d31ef16745cee07059788386cd88c718092ac (diff)
tab bar working
Diffstat (limited to 'client/ui.h')
-rw-r--r--client/ui.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/client/ui.h b/client/ui.h
index cbf18ee..ccab75d 100644
--- a/client/ui.h
+++ b/client/ui.h
@@ -8,8 +8,8 @@
#define W2_UI_TAB_COUNT 2
typedef enum {
W2_UI_TAB_START = 0,
- W2_UI_TAB_DIRC = 1,
-} w2_e_ui_tab;
+ W2_UI_TAB_DIRC = 1,
+} w2_e_ui_tabs;
extern WINDOW *g_w2_ui_win;
extern WINDOW *g_w2_ui_pad_tabbar;
@@ -17,7 +17,7 @@ extern WINDOW *g_w2_ui_pad_body;
extern unsigned int g_w2_ui_width;
extern unsigned int g_w2_ui_height;
extern void (*g_w2_tab_ptrs[W2_UI_TAB_COUNT])(bool first);
-extern w2_e_ui_tab g_w2_ui_current_tab;
+extern w2_e_ui_tabs g_w2_ui_current_tab;
/** update terminal props */
void w2_ui_update();
@@ -40,6 +40,3 @@ void w2_ui_tab_start(bool first);
void w2_wmvaddstr(WINDOW *win, unsigned int y, unsigned int x, char *str);
void w2_wmvaddnstr(WINDOW *win, unsigned int y, unsigned int x, char *str, unsigned int len);
-
-
-