Mercurial > minori
diff include/gui/theme.h @ 105:6d8da6e64d61
theme: add dark stylesheet, make it actually usable
win32: make the titlebar black where available
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 05 Nov 2023 03:54:26 -0500 |
parents | b315f3759c56 |
children | 2004b41d4a59 |
line wrap: on
line diff
--- a/include/gui/theme.h Sun Nov 05 02:35:27 2023 -0500 +++ b/include/gui/theme.h Sun Nov 05 03:54:26 2023 -0500 @@ -16,9 +16,10 @@ Theme(Themes theme = Themes::OS); void SetTheme(Themes theme); Themes GetTheme(); + bool IsInDarkMode(); + void RepaintCurrentTheme(); private: - bool IsInDarkMode(); void SetToDarkTheme(); void SetToLightTheme(); void SetStyleSheet(Themes theme);