mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Rework of timers and bigger text in toolboxes
This commit is contained in:
@@ -58,6 +58,11 @@ AppsContainer::AppsContainer() :
|
||||
Poincare::Expression::SetCircuitBreaker(AppsContainer::poincareCircuitBreaker);
|
||||
// #endif
|
||||
Ion::Storage::sharedStorage()->setDelegate(this);
|
||||
|
||||
addTimer(&m_batteryTimer);
|
||||
addTimer(&m_suspendTimer);
|
||||
addTimer(&m_backlightDimmingTimer);
|
||||
addTimer(&m_clockTimer);
|
||||
}
|
||||
|
||||
bool AppsContainer::poincareCircuitBreaker() {
|
||||
@@ -458,15 +463,6 @@ Window * AppsContainer::window() {
|
||||
return &m_window;
|
||||
}
|
||||
|
||||
int AppsContainer::numberOfContainerTimers() {
|
||||
return 4;
|
||||
}
|
||||
|
||||
Timer * AppsContainer::containerTimerAtIndex(int i) {
|
||||
Timer * timers[4] = {&m_batteryTimer, &m_suspendTimer, &m_backlightDimmingTimer, &m_clockTimer};
|
||||
return timers[i];
|
||||
}
|
||||
|
||||
void AppsContainer::resetShiftAlphaStatus() {
|
||||
Ion::Events::setShiftAlphaStatus(Ion::Events::ShiftAlphaStatus::Default);
|
||||
updateAlphaLock();
|
||||
|
||||
Reference in New Issue
Block a user