blob: 506ff1094de1ba6e5d9ee777dd4e373f6d0cc8cb (
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) 2021, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Label.h>
#include <LibGUI/SettingsWindow.h>
namespace DisplaySettings {
class FontSettingsWidget final : public GUI::SettingsWindow::Tab {
C_OBJECT_ABSTRACT(FontSettingsWidget);
public:
static ErrorOr<NonnullRefPtr<FontSettingsWidget>> try_create();
virtual ~FontSettingsWidget() override = default;
virtual void apply_settings() override;
private:
FontSettingsWidget() = default;
ErrorOr<void> setup_interface();
RefPtr<GUI::Label> m_default_font_label;
RefPtr<GUI::Label> m_window_title_font_label;
RefPtr<GUI::Label> m_fixed_width_font_label;
};
}
|