diff options
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index 1a45d75..c3e035e 100644 --- a/src/settings.h +++ b/src/settings.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef SETTINGS_H | 1 | #ifndef SETTINGS_H |
2 | #define SETTINGS_H | 2 | #define SETTINGS_H |
3 | 3 | ||
4 | #define N_SETTINGS 3 | 4 | #define N_SETTINGS 4 |
5 | 5 | ||
6 | typedef enum SyncSetting { | 6 | typedef enum SyncSetting { |
7 | SYNC_NONE = 0, | 7 | SYNC_NONE = 0, |
@@ -62,10 +62,23 @@ char * cursor_setting_str[] = { | |||
62 | "THICK LINE", | 62 | "THICK LINE", |
63 | }; | 63 | }; |
64 | 64 | ||
65 | typedef enum HelpSetting { | ||
66 | HELP_OFF = 0, | ||
67 | HELP_ON, | ||
68 | HELP_NUM, | ||
69 | } HelpSetting; | ||
70 | |||
71 | char * help_setting_str[] = { | ||
72 | "OFF", | ||
73 | "ON", | ||
74 | }; | ||
75 | |||
65 | typedef struct Settings { | 76 | typedef struct Settings { |
66 | SyncSetting sync; | 77 | SyncSetting sync; |
67 | ThemeSetting theme; | 78 | ThemeSetting theme; |
68 | CursorSetting cursor; | 79 | CursorSetting cursor; |
80 | HelpSetting help; | ||
81 | u8 reserved[63]; | ||
69 | } Settings; | 82 | } Settings; |
70 | 83 | ||
71 | #endif // SETTINGS_H | 84 | #endif // SETTINGS_H |