[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

@@ -0,0 +1,15 @@
#include <apps/apps_container.h>
#include <escher/animation_timer.h>
void AnimationTimer::setAnimated(Animated * animated) {
m_animated = animated;
AppsContainer::sharedAppsContainer()->addTimer(this);
}
void AnimationTimer::removeAnimated(Animated * animated) {
if (m_animated == animated || animated == nullptr) {
m_animated = nullptr;
AppsContainer::sharedAppsContainer()->removeTimer(this);
}
}