Mercurial > minori
annotate include/sys/osx/dark_theme.h @ 198:bc1ae1810855
dep/animia: switch from using classes to global functions
the old idea was ok, but sort of hackish; this method doesn't use classes
at all, and this way (especially important!) we can do wayland stuff AND x11
at the same time, which wasn't really possible without stupid workarounds in
the other method
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 24 Dec 2023 02:59:42 -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 |