1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

Everywhere: Support overriding the system color scheme

This commit is contained in:
implicitfield 2023-02-12 15:48:23 +02:00 committed by Andreas Kling
parent fba0cee622
commit e9e4baee77
15 changed files with 161 additions and 30 deletions

View file

@ -25,14 +25,17 @@ public:
private:
Vector<Gfx::SystemThemeMetaData> m_themes;
Vector<DeprecatedString> m_theme_names;
Vector<DeprecatedString> m_color_scheme_names;
RefPtr<GUI::ComboBox> m_themes_combo;
RefPtr<ThemePreviewWidget> m_theme_preview;
Gfx::SystemThemeMetaData const* m_selected_theme { nullptr };
DeprecatedString m_selected_color_scheme_name = "";
RefPtr<GUI::Button> m_cursor_themes_button;
bool& m_background_settings_changed;
bool m_color_scheme_is_file_based = true;
ThemesSettingsWidget(bool& background_settings_changed);
};