/* * Copyright (c) 2021, Andreas Kling * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace DisplaySettings { class FontSettingsWidget final : public GUI::SettingsWindow::Tab { C_OBJECT_ABSTRACT(FontSettingsWidget); public: static ErrorOr> try_create(); virtual ~FontSettingsWidget() override = default; virtual void apply_settings() override; private: FontSettingsWidget() = default; ErrorOr setup_interface(); RefPtr m_default_font_label; RefPtr m_window_title_font_label; RefPtr m_fixed_width_font_label; }; }