annotate 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 |
rev |
line source |
9
|
1 #ifndef __sys__osx__dark_theme_h
|
|
2 #define __sys__osx__dark_theme_h
|
15
|
3
|
9
|
4 namespace osx {
|
15
|
5
|
9
|
6 bool DarkThemeAvailable();
|
|
7 bool IsInDarkTheme();
|
|
8 void SetToDarkTheme();
|
|
9 void SetToLightTheme();
|
|
10 void SetToAutoTheme();
|
15
|
11
|
9
|
12 } // namespace osx
|
15
|
13
|
9
|
14 #endif // __sys__osx__dark_theme_h |