view include/sys/osx/dark_theme.h @ 340:74e2365326c6

dep/animone: add experimental accessibility strategy I also moved most of the functions out of util/win32.cc, because that file is meant for things that are shared between the different functions, and currently that is only wide string conversion helpers.
author Paper <paper@paper.us.eu.org>
date Wed, 19 Jun 2024 23:13:55 -0400
parents 3ec7804abf17
children
line wrap: on
line source

#ifndef MINORI_SYS_OSX_DARK_THEME_H_
#define MINORI_SYS_OSX_DARK_THEME_H_

namespace osx {

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

} // namespace osx

#endif // MINORI_SYS_OSX_DARK_THEME_H_