1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 14:54:59 +00:00
serenity/Userland/Applications/DisplaySettings/DesktopSettingsWidget.h
Tom 5acee4b4d0 DisplaySettings: Add new Desktop tab with virtual desktop settings
This allows the user to configure the virtual desktop setup as desired.
2021-07-03 12:27:23 +02:00

32 lines
596 B
C++

/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibCore/Timer.h>
#include <LibGUI/SpinBox.h>
namespace DisplaySettings {
class DesktopSettingsWidget : public GUI::Widget {
C_OBJECT(DesktopSettingsWidget);
public:
virtual ~DesktopSettingsWidget() override;
void apply_settings();
private:
DesktopSettingsWidget();
void create_frame();
void load_current_settings();
RefPtr<GUI::SpinBox> m_virtual_desktop_rows_spinbox;
RefPtr<GUI::SpinBox> m_virtual_desktop_columns_spinbox;
};
}