#pragma once #include #include #include #include #include namespace scwx::qt::settings { class TextSettings : public SettingsCategory { public: explicit TextSettings(); ~TextSettings() override; TextSettings(const TextSettings&) = delete; TextSettings& operator=(const TextSettings&) = delete; TextSettings(TextSettings&&) noexcept; TextSettings& operator=(TextSettings&&) noexcept; [[nodiscard]] SettingsVariable& font_family(types::FontCategory fontCategory) const; [[nodiscard]] SettingsVariable& font_style(types::FontCategory fontCategory) const; [[nodiscard]] SettingsVariable& font_point_size(types::FontCategory fontCategory) const; [[nodiscard]] SettingsVariable& hover_text_wrap() const; [[nodiscard]] SettingsVariable& placefile_text_drop_shadow_enabled() const; [[nodiscard]] SettingsVariable& radar_site_hover_text_enabled() const; [[nodiscard]] SettingsVariable& tooltip_method() const; static TextSettings& Instance(); friend bool operator==(const TextSettings& lhs, const TextSettings& rhs); private: class Impl; std::unique_ptr p; }; } // namespace scwx::qt::settings