aboutsummaryrefslogtreecommitdiff
path: root/client/ui.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-06 20:48:20 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-06 20:48:20 +0200
commitfedc13d6564dcf110ba3b7faca3c34a28c7905cb (patch)
tree422a499d46e5e63618201054218300e04ed134fe /client/ui.h
parentae8beb20a2a837824cfda4d748fbe07b26a161f0 (diff)
error logging working
Diffstat (limited to 'client/ui.h')
-rw-r--r--client/ui.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/client/ui.h b/client/ui.h
index ccab75d..bc74144 100644
--- a/client/ui.h
+++ b/client/ui.h
@@ -5,15 +5,17 @@
#define W2_UI_UPDATE_FPS (60)
-#define W2_UI_TAB_COUNT 2
+#define W2_UI_TAB_COUNT 3
typedef enum {
- W2_UI_TAB_START = 0,
- W2_UI_TAB_DIRC = 1,
+ W2_UI_TAB_START = 0,
+ W2_UI_TAB_ERRCATCH = 1,
+ W2_UI_TAB_DIRC = 2,
} w2_e_ui_tabs;
extern WINDOW *g_w2_ui_win;
extern WINDOW *g_w2_ui_pad_tabbar;
extern WINDOW *g_w2_ui_pad_body;
+extern int g_w2_ui_pad_body_scroll;
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);
@@ -37,6 +39,7 @@ void w2_ui_tabbar_init();
void w2_ui_tab_dirc(bool first);
void w2_ui_tab_start(bool first);
+void w2_ui_tab_errcatch(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);