2021-05-21 19:55:30 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-05-23 18:14:22 +03:00
|
|
|
#include <LibGUI/Label.h>
|
2021-11-20 18:28:46 +03:00
|
|
|
#include <LibGUI/SettingsWindow.h>
|
2021-05-21 19:55:30 +03:00
|
|
|
|
|
|
|
namespace DisplaySettings {
|
|
|
|
|
2021-11-20 18:28:46 +03:00
|
|
|
class FontSettingsWidget final : public GUI::SettingsWindow::Tab {
|
2021-05-21 19:55:30 +03:00
|
|
|
C_OBJECT(FontSettingsWidget);
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual ~FontSettingsWidget() override;
|
|
|
|
|
2021-11-20 18:28:46 +03:00
|
|
|
virtual void apply_settings() override;
|
2021-05-21 19:55:30 +03:00
|
|
|
|
|
|
|
private:
|
|
|
|
FontSettingsWidget();
|
2021-05-23 18:14:22 +03:00
|
|
|
|
|
|
|
RefPtr<GUI::Label> m_default_font_label;
|
|
|
|
RefPtr<GUI::Label> m_fixed_width_font_label;
|
2021-05-21 19:55:30 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|