#pragma once #include #include class GlyphEditorWidget; class GlyphMapWidget; class GTextBox; struct UI_FontEditorBottom; class FontEditorWidget final : public GWidget { C_OBJECT(FontEditorWidget) public: virtual ~FontEditorWidget() override; private: FontEditorWidget(const String& path, RefPtr&&, GWidget* parent = nullptr); RefPtr m_edited_font; GlyphMapWidget* m_glyph_map_widget { nullptr }; GlyphEditorWidget* m_glyph_editor_widget { nullptr }; String m_path; OwnPtr m_ui; };