comparison include/sys/glib/dark_theme.h @ 351:c844f8bb87ce

gui/theme: add xsettings backend this also adds newly-necessary endianness methods in core/endian.h which just so happen to be constexpr as well
author Paper <paper@paper.us.eu.org>
date Sun, 14 Jul 2024 23:23:56 -0400
parents 3ec7804abf17
children
comparison
equal deleted inserted replaced
350:daa03aa2262d 351:c844f8bb87ce
1 #ifndef MINORI_SYS_GLIB_DARK_THEME_H_ 1 #ifndef MINORI_SYS_GLIB_DARK_THEME_H_
2 #define MINORI_SYS_GLIB_DARK_THEME_H_ 2 #define MINORI_SYS_GLIB_DARK_THEME_H_
3 3
4 #include <string_view>
5
4 namespace glib { 6 namespace glib {
5 7
8 bool IsGTKThemeDark(const std::string_view str);
6 bool IsInDarkTheme(); 9 bool IsInDarkTheme();
7 10
8 } 11 }
9 12
10 #endif // MINORI_SYS_GLIB_DARK_THEME_H_ 13 #endif // MINORI_SYS_GLIB_DARK_THEME_H_