summaryrefslogtreecommitdiff
path: root/client/strings.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-06 18:32:04 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-06 18:32:04 +0200
commit8c1d31ef16745cee07059788386cd88c718092ac (patch)
treee944221ef69f38393790e337e85eb9edfe17a559 /client/strings.c
parenta909440c7671075127a98cffd7f1714114fc17bd (diff)
code organization
Diffstat (limited to 'client/strings.c')
-rw-r--r--client/strings.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/client/strings.c b/client/strings.c
index a119d9a..720f7b8 100644
--- a/client/strings.c
+++ b/client/strings.c
@@ -1,6 +1,7 @@
#include "strings.h"
char *g_w2_mode_strings[W2_MODE_COUNT];
+char *g_w2_tab_strings[W2_UI_TAB_COUNT];
void w2_strings_modes_init() {
g_w2_mode_strings[W2_M_CHRG] = W2_UI_MODE_CHRG;
@@ -12,4 +13,12 @@ void w2_strings_modes_init() {
g_w2_mode_strings[W2_M_SPIN] = W2_UI_MODE_SPIN;
}
-void w2_strings_init() { w2_strings_modes_init(); }
+void w2_strings_tabs_init() {
+ g_w2_tab_strings[W2_UI_TAB_START] = W2_UI_TAB_LABEL_START;
+ g_w2_tab_strings[W2_UI_TAB_DIRC] = W2_UI_TAB_LABEL_DIRC;
+}
+
+void w2_strings_init() {
+ w2_strings_modes_init();
+ w2_strings_tabs_init();
+}