blob: 2b6fccd724476b16216b251cbcf77d7fb7b27fa1 (
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
27
|
#pragma once
#include <AK/Function.h>
#include <LibGUI/GWidget.h>
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<Font>&&, GWidget* parent = nullptr);
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;
};
|