initial commit

Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
2025-10-31 23:37:30 +01:00
commit bf6b52fd94
9654 changed files with 4035664 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
///////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/private/appearance.h
// Purpose: Private wxGTK functions for working with appearance settings
// Copyright: (c) 2024 Vadim Zeitlin
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_PRIVATE_APPEARANCE_H_
#define _WX_GTK_PRIVATE_APPEARANCE_H_
namespace wxGTKImpl
{
// This enum uses the same values as org.freedesktop.appearance.color-scheme
enum class ColorScheme
{
NoPreference = 0,
PreferDark = 1,
PreferLight = 2
};
// Update GTK color scheme if possible.
//
// Return false if the preference wasn't changed because it is overridden by
// the theme anyhow.
bool UpdateColorScheme(ColorScheme colorScheme);
} // namespace wxGTKImpl
#endif // _WX_GTK_PRIVATE_APPEARANCE_H_