blob: 033daf3301faf0975e6ab46bc0c3ad000477246d (
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
|
#pragma once
#include <AK/Function.h>
#include <LibGUI/GWidget.h>
class GlyphEditorWidget;
class GlyphMapWidget;
class GTextBox;
struct UI_FontEditorBottom;
class FontEditorWidget final : public GWidget {
public:
FontEditorWidget(const String& path, RefPtr<Font>&&, GWidget* parent = nullptr);
virtual ~FontEditorWidget() override;
private:
RefPtr<Font> m_edited_font;
GlyphMapWidget* m_glyph_map_widget { nullptr };
GlyphEditorWidget* m_glyph_editor_widget { nullptr };
String m_path;
OwnPtr<UI_FontEditorBottom> m_ui;
};
|