1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 11:45:06 +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

@ -28,8 +28,8 @@ GWindow* GWindow::from_window_id(int window_id)
return nullptr;
}
GWindow::GWindow(GObject* parent)
: GObject(parent)
GWindow::GWindow(CObject* parent)
: CObject(parent)
{
m_rect_when_windowless = { 100, 400, 140, 140 };
m_title_when_windowless = "GWindow";
@ -280,7 +280,7 @@ void GWindow::event(CEvent& event)
if (event.type() == GEvent::WM_WindowRemoved || event.type() == GEvent::WM_WindowStateChanged)
return wm_event(static_cast<GWMEvent&>(event));
GObject::event(event);
CObject::event(event);
}
bool GWindow::is_visible() const