diff options
Diffstat (limited to 'client/ui.h')
-rw-r--r-- | client/ui.h | 9 |
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); |