-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlang.h
More file actions
68 lines (53 loc) · 1.49 KB
/
Copy pathlang.h
File metadata and controls
68 lines (53 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#pragma once
typedef struct {
const char *lang_code;
const char *lang_name;
const char *lang_author;
const char *lang_version;
const char *item_term_font_size;
const char *item_menu_font_size;
const char *item_font_hinting;
const char *item_fg_colour;
const char *item_bg_colour;
const char *item_language;
const char *item_save_config;
const char *item_reset_config;
const char *item_quit;
const char *hint_normal;
const char *hint_light;
const char *hint_mono;
const char *hint_none;
const char *fg_white;
const char *fg_amber;
const char *fg_yellow;
const char *fg_green;
const char *fg_lime;
const char *fg_cyan;
const char *fg_light_blue;
const char *fg_blue;
const char *fg_pink;
const char *fg_magenta;
const char *fg_orange;
const char *fg_light_gray;
const char *bg_black;
const char *bg_dark_gray;
const char *bg_charcoal;
const char *bg_dark_blue;
const char *bg_navy;
const char *bg_dark_green;
const char *bg_forest;
const char *bg_dark_purple;
const char *bg_plum;
const char *bg_dark_red;
const char *bg_dark_teal;
const char *bg_dark_brown;
const char *menu_hint;
const char *notify_config_saved;
const char *notify_config_reset;
} LangDef;
extern const LangDef *g_lang;
extern const int g_lang_count;
extern const LangDef *const g_lang_table[];
void lang_init(void);
void lang_set(int idx);
int lang_current_index(void);