Mercurial > minori
comparison src/gui/theme.cc @ 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 |
---|---|
29 | 29 |
30 Themes Theme::GetTheme() { | 30 Themes Theme::GetTheme() { |
31 return theme; | 31 return theme; |
32 } | 32 } |
33 | 33 |
34 bool Theme::IsInDarkMode() { | 34 bool Theme::IsInDarkTheme() { |
35 if (theme != Themes::OS) | 35 if (theme != Themes::OS) |
36 return (theme == Themes::DARK); | 36 return (theme == Themes::DARK); |
37 #ifdef MACOSX | 37 #ifdef MACOSX |
38 if (osx::DarkThemeAvailable()) | 38 if (osx::DarkThemeAvailable()) |
39 return osx::IsInDarkTheme(); | 39 return osx::IsInDarkTheme(); |