mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 01:05:58 +03:00
160bda7228
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
34 lines
664 B
C++
34 lines
664 B
C++
/*
|
|
* 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;
|
|
};
|
|
|
|
}
|