view include/sys/osx/dark_theme.h @ 232:ff0061e75f0f

theme: add OS detection with glib
author Paper <mrpapersonic@gmail.com>
date Sat, 13 Jan 2024 11:06:16 -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