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