blob: 9f9d7c12dbbee9d93336b96336f2c22d6d5f4e28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* Copyright (c) 2020-2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibCore/Timer.h>
#include <LibGUI/SettingsWindow.h>
#include <LibGUI/SpinBox.h>
namespace DisplaySettings {
class DesktopSettingsWidget : public GUI::SettingsWindow::Tab {
C_OBJECT(DesktopSettingsWidget);
public:
virtual ~DesktopSettingsWidget() override = default;
virtual void apply_settings() override;
private:
DesktopSettingsWidget();
void create_frame();
void load_current_settings();
RefPtr<GUI::SpinBox> m_workspace_rows_spinbox;
RefPtr<GUI::SpinBox> m_workspace_columns_spinbox;
};
}
|