mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[escher] Add an event "TimerTick"
Change-Id: Ib6d1cacdf13226d37b1a8fdf6ecf8a92d077a96f
This commit is contained in:
@@ -49,7 +49,7 @@ bool RunLoop::step() {
|
||||
for (int i=0; i<numberOfTimers(); i++) {
|
||||
Timer * timer = timerAtIndex(i);
|
||||
if (timer->tick()) {
|
||||
windowRedraw();
|
||||
dispatchEvent(Ion::Events::TimerTick);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user