view include/sys/osx/dark_theme.h @ 65:26721c28bf22

*: avoid usage of (to|from)StdString in Qt5 (and probably Qt6 as well) these functions are only available (or even usable) if Qt and Minori were built with the *same standard headers*, which may not be the case in some circumstances. hence, we'll use our own conversion functions, which we probably should use anyway.
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 23:26:35 -0400
parents cde8f67a7c7d
children 8548dc425697
line wrap: on
line source

#ifndef __sys__osx__dark_theme_h
#define __sys__osx__dark_theme_h

namespace osx {

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

} // namespace osx

#endif // __sys__osx__dark_theme_h