Mercurial > minori
diff 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 |
line wrap: on
line diff
--- a/include/sys/glib/dark_theme.h Sun Jul 14 19:12:40 2024 -0400 +++ b/include/sys/glib/dark_theme.h Sun Jul 14 23:23:56 2024 -0400 @@ -1,8 +1,11 @@ #ifndef MINORI_SYS_GLIB_DARK_THEME_H_ #define MINORI_SYS_GLIB_DARK_THEME_H_ +#include <string_view> + namespace glib { +bool IsGTKThemeDark(const std::string_view str); bool IsInDarkTheme(); }