mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:28:11 +00:00
Userspace: Use Core::Object::add() when building interfaces
This commit is contained in:
parent
7ec758773c
commit
3d20da9ee4
87 changed files with 403 additions and 438 deletions
|
@ -50,10 +50,10 @@ FontEditorWidget::FontEditorWidget(const String& path, RefPtr<Gfx::Font>&& edite
|
|||
else
|
||||
m_path = path;
|
||||
|
||||
m_glyph_map_widget = GlyphMapWidget::construct(*m_edited_font, this);
|
||||
m_glyph_map_widget = add<GlyphMapWidget>(*m_edited_font);
|
||||
m_glyph_map_widget->move_to({ 90, 5 });
|
||||
|
||||
m_glyph_editor_widget = GlyphEditorWidget::construct(*m_edited_font, this);
|
||||
m_glyph_editor_widget = add<GlyphEditorWidget>(*m_edited_font);
|
||||
m_glyph_editor_widget->move_to({ 5, 5 });
|
||||
|
||||
m_ui = make<UI_FontEditorBottom>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue