mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 14:54:59 +00:00
32 lines
596 B
C++
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;
|
|
};
|
|
|
|
}
|