view 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
line wrap: on
line source

#ifndef __sys__osx__dark_theme_h
#define __sys__osx__dark_theme_h

namespace osx {

bool DarkThemeAvailable();
bool IsInDarkTheme();
bool SetToDarkTheme();
bool SetToLightTheme();
void SetToAutoTheme();

} // namespace osx

#endif // __sys__osx__dark_theme_h