2019-02-02 10:05:14 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AK/Function.h>
|
2019-05-28 12:53:16 +03:00
|
|
|
#include <LibGUI/GWidget.h>
|
2019-02-02 10:05:14 +03:00
|
|
|
|
|
|
|
class GlyphEditorWidget;
|
|
|
|
class GlyphMapWidget;
|
2019-02-03 05:06:58 +03:00
|
|
|
class GTextBox;
|
2019-02-02 10:05:14 +03:00
|
|
|
|
2019-07-11 21:19:26 +03:00
|
|
|
struct UI_FontEditorBottom;
|
|
|
|
|
2019-02-02 10:05:14 +03:00
|
|
|
class FontEditorWidget final : public GWidget {
|
2019-09-21 21:04:00 +03:00
|
|
|
C_OBJECT(FontEditorWidget)
|
2019-02-02 10:05:14 +03:00
|
|
|
public:
|
|
|
|
virtual ~FontEditorWidget() override;
|
|
|
|
|
|
|
|
private:
|
2019-09-21 21:04:00 +03:00
|
|
|
FontEditorWidget(const String& path, RefPtr<Font>&&, GWidget* parent = nullptr);
|
2019-06-21 19:37:47 +03:00
|
|
|
RefPtr<Font> m_edited_font;
|
2019-02-03 01:13:12 +03:00
|
|
|
|
2019-02-02 10:05:14 +03:00
|
|
|
GlyphMapWidget* m_glyph_map_widget { nullptr };
|
|
|
|
GlyphEditorWidget* m_glyph_editor_widget { nullptr };
|
2019-02-05 09:23:01 +03:00
|
|
|
|
|
|
|
String m_path;
|
2019-07-11 21:19:26 +03:00
|
|
|
|
|
|
|
OwnPtr<UI_FontEditorBottom> m_ui;
|
2019-02-02 10:05:14 +03:00
|
|
|
};
|