1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 07:05:08 +00:00

LibCore: Move LibGUI/GObject to LibCore/CObject.

This commit is contained in:
Andreas Kling 2019-04-10 17:01:54 +02:00
parent b8062f69d8
commit 2f1f51b8ab
30 changed files with 144 additions and 75 deletions

View file

@ -11,7 +11,7 @@
#include <unistd.h>
GWidget::GWidget(GWidget* parent)
: GObject(parent)
: CObject(parent)
{
set_font(nullptr);
m_background_color = Color::LightGray;
@ -36,7 +36,7 @@ void GWidget::child_event(CChildEvent& event)
invalidate_layout();
}
}
return GObject::child_event(event);
return CObject::child_event(event);
}
void GWidget::set_relative_rect(const Rect& rect)
@ -84,7 +84,7 @@ void GWidget::event(CEvent& event)
case GEvent::Leave:
return handle_leave_event(event);
default:
return GObject::event(event);
return CObject::event(event);
}
}