Allow the user to choose the UI theme

Mainly useful for those who want dark mode on Windows.
This commit is contained in:
Nadia Holmquist Pedersen
2024-02-07 20:12:23 +01:00
parent d48e5f2da0
commit a7575ec7b3
6 changed files with 59 additions and 4 deletions

View File

@ -142,6 +142,7 @@ bool MouseHide;
int MouseHideSeconds;
bool PauseLostFocus;
std::string UITheme;
int64_t RTCOffset;
@ -344,6 +345,7 @@ ConfigEntry ConfigFile[] =
{"MouseHide", 1, &MouseHide, false, false},
{"MouseHideSeconds", 0, &MouseHideSeconds, 5, false},
{"PauseLostFocus", 1, &PauseLostFocus, false, false},
{"UITheme", 2, &UITheme, (std::string)"", false},
{"RTCOffset", 3, &RTCOffset, (int64_t)0, true},