[WIP] Add new notification UI that use HW scrolling effects. Both notification apps are available in the menu, we can compare them.

This commit is contained in:
JF
2020-10-19 21:46:41 +02:00
parent 28bc434419
commit 55427d83b8
8 changed files with 356 additions and 96 deletions

View File

@@ -9,6 +9,7 @@
#include "components/datetime/DateTimeController.h"
#include <drivers/Cst816s.h>
#include "displayapp/screens/Notifications.h"
#include "displayapp/screens/Notifications_swscroll.h"
#include "displayapp/screens/Tile.h"
#include "displayapp/screens/Meter.h"
#include "displayapp/screens/Gauge.h"
@@ -204,6 +205,7 @@ void DisplayApp::RunningState() {
case Apps::Music : currentScreen.reset(new Screens::Music(this, systemTask.nimble().music())); break;
case Apps::FirmwareValidation: currentScreen.reset(new Screens::FirmwareValidation(this, validator)); break;
case Apps::Notifications: currentScreen.reset(new Screens::Notifications(this)); break;
case Apps::Notifications2: currentScreen.reset(new Screens::Notifications2(this)); break;
}
nextApp = Apps::None;
}