Mercurial > minori
comparison include/core/config.h @ 101:c537996cf67b
*: multitude of config changes
1. theme is now configurable from the settings menu
(but you have to restart for it to apply)
2. config is now stored in an INI file, with no method of
conversion from json (this repo is private-ish anyway)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 03 Nov 2023 14:06:02 -0400 |
parents | c69230dc2b5d |
children | b315f3759c56 |
comparison
equal
deleted
inserted
replaced
100:f5940a575d83 | 101:c537996cf67b |
---|---|
32 std::string username; | 32 std::string username; |
33 int user_id; | 33 int user_id; |
34 } anilist; | 34 } anilist; |
35 }; | 35 }; |
36 | 36 |
37 #define WIDEIFY_EX(x) L##x | |
38 #define WIDEIFY(x) WIDEIFY_EX(x) | |
39 #define CONFIG_DIR "minori" | 37 #define CONFIG_DIR "minori" |
40 #define CONFIG_WDIR WIDEIFY(CONFIG_DIR) | 38 #define CONFIG_NAME "config.ini" |
41 #define CONFIG_NAME "config.json" | |
42 #define CONFIG_WNAME WIDEIFY(CONFIG_NAME) | |
43 | 39 |
44 #define MAX_LINE_LENGTH 256 | 40 #define MAX_LINE_LENGTH 256 |
45 | 41 |
46 #endif // __core__config_h | 42 #endif // __core__config_h |