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:
parent
b8062f69d8
commit
2f1f51b8ab
30 changed files with 144 additions and 75 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue