/* * Copyright (c) 2019-2020, Jesse Buhagiar * Copyright (c) 2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "MonitorWidget.h" #include #include #include #include #include namespace DisplaySettings { class BackgroundSettingsWidget : public GUI::Widget { C_OBJECT(BackgroundSettingsWidget); public: virtual ~BackgroundSettingsWidget() override; void apply_settings(); private: BackgroundSettingsWidget(); void create_frame(); void load_current_settings(); Vector m_modes; RefPtr m_monitor_widget; RefPtr m_wallpaper_view; RefPtr m_mode_combo; RefPtr m_color_input; RefPtr m_context_menu; RefPtr m_show_in_file_manager_action; RefPtr m_copy_action; }; }