view include/sys/osx/dark_theme.h @ 277:a796e97cc86d

dep/animone: x11: correctly check for connection failure if there's no X server running then the previous code segfaults(!)
author Paper <paper@paper.us.eu.org>
date Mon, 22 Apr 2024 19:11:06 -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_