summaryrefslogtreecommitdiff
path: root/client/ui.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-30 16:53:00 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-30 16:53:00 +0200
commit79f2164bb6fe1727be284e5208ae402379341009 (patch)
tree37c740231891d7e918a7c69c654fb1f813c0073a /client/ui.h
parentb728a15887fa28cdd98d74017c4882d632d6e069 (diff)
terminal drive control concept
Diffstat (limited to 'client/ui.h')
-rw-r--r--client/ui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/ui.h b/client/ui.h
index cac7f46..f749fa0 100644
--- a/client/ui.h
+++ b/client/ui.h
@@ -3,9 +3,12 @@
#include <ncurses.h>
#include <stdint.h>
+#define W2_UI_UPDATE_FPS (60)
+
extern WINDOW *g_w2_ui_win;
extern unsigned int g_w2_ui_width;
extern unsigned int g_w2_ui_height;
+extern void (*g_w2_ui_current_tab)();
/** update terminal props */
void w2_ui_update();
@@ -20,3 +23,5 @@ void w2_ui_main();
void w2_ui_paint_statusbar();
/** draw tab bar */
void w2_ui_paint_tabbar();
+
+void w2_ui_dirc();