mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
Add a simple clock window to guitest2.
This is driven by mousedown events right now, since there are no timers.
This commit is contained in:
@@ -23,7 +23,7 @@ void GObject::event(GEvent& event)
|
||||
{
|
||||
switch (event.type()) {
|
||||
case GEvent::Timer:
|
||||
return timerEvent(static_cast<GTimerEvent&>(event));
|
||||
return timer_event(static_cast<GTimerEvent&>(event));
|
||||
case GEvent::DeferredDestroy:
|
||||
delete this;
|
||||
break;
|
||||
@@ -50,7 +50,7 @@ void GObject::removeChild(GObject& object)
|
||||
}
|
||||
}
|
||||
|
||||
void GObject::timerEvent(GTimerEvent&)
|
||||
void GObject::timer_event(GTimerEvent&)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user