annotate include/sys/osx/dark_theme.h @ 150:ffa535b6d630
*: avoid usage of std::[pair,tuple]
https://arne-mertz.de/2017/03/smelly-pair-tuple/
it's better to use real structures and such where variables are easily known...
also apparently using [] on structs is actually valid? I had no idea.
author |
Paper <mrpapersonic@gmail.com> |
date |
Tue, 14 Nov 2023 16:27:33 -0500 |
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 |