/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace DisplaySettings { class DesktopSettingsWidget : public GUI::SettingsWindow::Tab { C_OBJECT(DesktopSettingsWidget); public: virtual ~DesktopSettingsWidget() override; virtual void apply_settings() override; private: DesktopSettingsWidget(); void create_frame(); void load_current_settings(); RefPtr m_workspace_rows_spinbox; RefPtr m_workspace_columns_spinbox; }; }