Mercurial > minori
comparison include/gui/theme.h @ 108:2004b41d4a59
*: huge commit
1. WORKING LOCALIZATION + translation for Spanish and British English
2. idk like 2 changes for the dark theme :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 05 Nov 2023 23:31:49 -0500 |
parents | 6d8da6e64d61 |
children | 39521c47c7a3 |
comparison
equal
deleted
inserted
replaced
107:49c8d1976869 | 108:2004b41d4a59 |
---|---|
14 class Theme final { | 14 class Theme final { |
15 public: | 15 public: |
16 Theme(Themes theme = Themes::OS); | 16 Theme(Themes theme = Themes::OS); |
17 void SetTheme(Themes theme); | 17 void SetTheme(Themes theme); |
18 Themes GetTheme(); | 18 Themes GetTheme(); |
19 bool IsInDarkMode(); | 19 bool IsInDarkTheme(); |
20 void RepaintCurrentTheme(); | 20 void RepaintCurrentTheme(); |
21 | 21 |
22 private: | 22 private: |
23 void SetToDarkTheme(); | 23 void SetToDarkTheme(); |
24 void SetToLightTheme(); | 24 void SetToLightTheme(); |