Mercurial > minori
annotate include/sys/osx/dark_theme.h @ 229:adc20fa321c1
theme: force Fusion style on platforms other than Win32 or OS X
I was reluctant to do this, but most of the other styles just
look like pure shite regardless of whether I force a stylesheet
on them or not. KDE's style is actually hilariously bad paired
with my stylesheet, so I've decided to also make the stylesheet
Windows-specific as well, because that's really the only platform
where it makes sense in the first place.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 10 Jan 2024 21:23:57 -0500 |
parents | 8548dc425697 |
children | a7d0d543b334 |
rev | line source |
---|---|
9 | 1 #ifndef __sys__osx__dark_theme_h |
2 #define __sys__osx__dark_theme_h | |
15 | 3 |
9 | 4 namespace osx { |
15 | 5 |
9 | 6 bool DarkThemeAvailable(); |
7 bool IsInDarkTheme(); | |
194
8548dc425697
sys/osx: remove all objective-c++ stuff
Paper <mrpapersonic@gmail.com>
parents:
15
diff
changeset
|
8 bool SetToDarkTheme(); |
8548dc425697
sys/osx: remove all objective-c++ stuff
Paper <mrpapersonic@gmail.com>
parents:
15
diff
changeset
|
9 bool SetToLightTheme(); |
9 | 10 void SetToAutoTheme(); |
15 | 11 |
9 | 12 } // namespace osx |
15 | 13 |
9 | 14 #endif // __sys__osx__dark_theme_h |