Mercurial > minori
view include/gui/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 | 3d2decf093bb |
children |
line wrap: on
line source
#ifndef __gui__dark_theme_h #define __gui__dark_theme_h namespace DarkTheme { bool IsInDarkMode(); /* this function is private, and should stay that way */ // void SetStyleSheet(enum Themes theme); void SetToDarkTheme(); void SetToLightTheme(); enum Themes GetCurrentOSTheme(); void SetTheme(enum Themes theme); } // namespace DarkTheme #endif // __gui__dark_theme_h