1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 01:58:12 +00:00

Hook everything up to run the GUI on top of the kernel.

Okay things kinda sorta work. Both Bochs and QEMU now boot into GUI mode.
There's a ton of stuff that doesn't make sense and so many things to rework.

Still it's quite cool to have made it this far. :^)
This commit is contained in:
Andreas Kling 2019-01-10 23:19:29 +01:00
parent 8626e95509
commit f6d2c3ed87
17 changed files with 117 additions and 23 deletions

View file

@ -18,7 +18,7 @@ Object::~Object()
{
if (m_parent)
m_parent->removeChild(*this);
auto childrenToDelete = std::move(m_children);
auto childrenToDelete = move(m_children);
for (auto* child : childrenToDelete)
delete child;
}
@ -81,7 +81,9 @@ void Object::stopTimer()
{
if (!m_timerID)
return;
#ifdef USE_SDL
SDL_RemoveTimer(m_timerID);
#endif
m_timerID = 0;
}