mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
DisplaySettings: Migrate to using SettingsWindow :^)
This commit is contained in:
parent
a4af8b2a64
commit
1dd5c838cf
Notes:
sideshowbarker
2024-07-18 00:58:13 +09:00
Author: https://github.com/AtkinsSJ
Commit: 1dd5c838cf
Pull-request: https://github.com/SerenityOS/serenity/pull/10979
Reviewed-by: https://github.com/linusg ✅
5 changed files with 19 additions and 63 deletions
|
@ -7,17 +7,17 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/Label.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGUI/SettingsWindow.h>
|
||||
|
||||
namespace DisplaySettings {
|
||||
|
||||
class FontSettingsWidget : public GUI::Widget {
|
||||
class FontSettingsWidget final : public GUI::SettingsWindow::Tab {
|
||||
C_OBJECT(FontSettingsWidget);
|
||||
|
||||
public:
|
||||
virtual ~FontSettingsWidget() override;
|
||||
|
||||
void apply_settings();
|
||||
virtual void apply_settings() override;
|
||||
|
||||
private:
|
||||
FontSettingsWidget();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue