/* * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace GUI { namespace DisplaySettings { class EffectsSettingsWidget final : public SettingsWindow::Tab { C_OBJECT_ABSTRACT(EffectsSettingsWidget); static ErrorOr> try_create(); public: virtual ~EffectsSettingsWidget() override = default; virtual void apply_settings() override; private: EffectsSettingsWidget() = default; ErrorOr setup_interface(); ErrorOr load_settings(); SystemEffects m_system_effects; Vector m_geometry_list; RefPtr m_geometry_combobox; }; } }