[escher] Rework of timers and bigger text in toolboxes

This commit is contained in:
Laury
2022-06-24 22:35:36 +02:00
parent 391fd5e243
commit 0b2a581177
74 changed files with 407 additions and 208 deletions

View File

@@ -55,23 +55,3 @@ void Container::run() {
window()->redraw();
RunLoop::run();
}
int Container::numberOfTimers() {
return s_activeApp->numberOfTimers() + numberOfContainerTimers();
}
Timer * Container::timerAtIndex(int i) {
if (i < s_activeApp->numberOfTimers()) {
return s_activeApp->timerAtIndex(i);
}
return containerTimerAtIndex(i-s_activeApp->numberOfTimers());
}
int Container::numberOfContainerTimers() {
return 0;
}
Timer * Container::containerTimerAtIndex(int i) {
assert(false);
return nullptr;
}