Userspace: Use Core::Object::add() when building interfaces

This commit is contained in:
Andreas Kling 2020-02-23 10:57:42 +01:00
commit 3d20da9ee4
Notes: sideshowbarker 2024-07-19 09:08:47 +09:00
87 changed files with 403 additions and 438 deletions

View file

@ -29,9 +29,8 @@
#include <LibGfx/Font.h>
#include <LibGfx/Palette.h>
GlyphEditorWidget::GlyphEditorWidget(Gfx::Font& mutable_font, GUI::Widget* parent)
: GUI::Frame(parent)
, m_font(mutable_font)
GlyphEditorWidget::GlyphEditorWidget(Gfx::Font& mutable_font)
: m_font(mutable_font)
{
set_frame_thickness(2);
set_frame_shadow(Gfx::FrameShadow::Sunken);