mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
DisplaySettings: Migrate to using SettingsWindow :^)
This commit is contained in:
parent
a4af8b2a64
commit
1dd5c838cf
5 changed files with 19 additions and 63 deletions
|
@ -11,11 +11,12 @@
|
|||
#include <LibGUI/ColorInput.h>
|
||||
#include <LibGUI/ComboBox.h>
|
||||
#include <LibGUI/RadioButton.h>
|
||||
#include <LibGUI/SettingsWindow.h>
|
||||
#include <WindowServer/ScreenLayout.h>
|
||||
|
||||
namespace DisplaySettings {
|
||||
|
||||
class MonitorSettingsWidget : public GUI::Widget {
|
||||
class MonitorSettingsWidget final : public GUI::SettingsWindow::Tab {
|
||||
C_OBJECT(MonitorSettingsWidget);
|
||||
|
||||
public:
|
||||
|
@ -25,7 +26,7 @@ public:
|
|||
show_screen_numbers(false);
|
||||
}
|
||||
|
||||
void apply_settings();
|
||||
virtual void apply_settings() override;
|
||||
void show_screen_numbers(bool);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue