annotate include/sys/glib/dark_theme.h @ 359:4e0e17d3c67a

CI/linux: ignore linuxdeployqt silently failing
author Paper <paper@paper.us.eu.org>
date Mon, 15 Jul 2024 01:06:39 -0400
parents c844f8bb87ce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
261
3ec7804abf17 include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents: 232
diff changeset
1 #ifndef MINORI_SYS_GLIB_DARK_THEME_H_
3ec7804abf17 include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents: 232
diff changeset
2 #define MINORI_SYS_GLIB_DARK_THEME_H_
232
ff0061e75f0f theme: add OS detection with glib
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3
351
c844f8bb87ce gui/theme: add xsettings backend
Paper <paper@paper.us.eu.org>
parents: 261
diff changeset
4 #include <string_view>
c844f8bb87ce gui/theme: add xsettings backend
Paper <paper@paper.us.eu.org>
parents: 261
diff changeset
5
232
ff0061e75f0f theme: add OS detection with glib
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 namespace glib {
ff0061e75f0f theme: add OS detection with glib
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7
351
c844f8bb87ce gui/theme: add xsettings backend
Paper <paper@paper.us.eu.org>
parents: 261
diff changeset
8 bool IsGTKThemeDark(const std::string_view str);
232
ff0061e75f0f theme: add OS detection with glib
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 bool IsInDarkTheme();
ff0061e75f0f theme: add OS detection with glib
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10
ff0061e75f0f theme: add OS detection with glib
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11 }
ff0061e75f0f theme: add OS detection with glib
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12
261
3ec7804abf17 include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents: 232
diff changeset
13 #endif // MINORI_SYS_GLIB_DARK_THEME_H_