diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-05-12 02:42:22 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-05-12 02:42:22 (GMT) |
| commit | c559096005f37fd53b36c861fdd65f600a76f7c1 (patch) | |
| tree | 6da8c80c2a3b845746785beecf9192f21fd100f5 /src/displayapp/screens/ApplicationList.cpp | |
| parent | 8b4861d25c652a39f2e2f4332d286b225583b1e7 (diff) | |
Add Jumpscore app
Diffstat (limited to 'src/displayapp/screens/ApplicationList.cpp')
| -rw-r--r-- | src/displayapp/screens/ApplicationList.cpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/displayapp/screens/ApplicationList.cpp b/src/displayapp/screens/ApplicationList.cpp index 29c8aff..847cb53 100644 --- a/src/displayapp/screens/ApplicationList.cpp +++ b/src/displayapp/screens/ApplicationList.cpp @@ -25,7 +25,9 @@ ApplicationList::ApplicationList(Pinetime::Applications::DisplayApp* app, [this]() -> std::unique_ptr<Screen> { return CreateScreen2(); }, - //[this]() -> std::unique_ptr<Screen> { return CreateScreen3(); } + [this]() -> std::unique_ptr<Screen> { + return CreateScreen3(); + } }, Screens::ScreenListModes::UpDown} { } @@ -48,7 +50,7 @@ std::unique_ptr<Screen> ApplicationList::CreateScreen1() { {Symbols::hourGlass, Apps::Timer}, }}; - return std::make_unique<Screens::Tile>(0, 2, app, settingsController, batteryController, dateTimeController, applications); + return std::make_unique<Screens::Tile>(0, 3, app, settingsController, batteryController, dateTimeController, applications); } std::unique_ptr<Screen> ApplicationList::CreateScreen2() { @@ -61,19 +63,21 @@ std::unique_ptr<Screen> ApplicationList::CreateScreen2() { {Symbols::clock, Apps::Alarm}, }}; - return std::make_unique<Screens::Tile>(1, 2, app, settingsController, batteryController, dateTimeController, applications); + return std::make_unique<Screens::Tile>(1, 3, app, settingsController, batteryController, dateTimeController, applications); } -/*std::unique_ptr<Screen> ApplicationList::CreateScreen3() { +std::unique_ptr<Screen> ApplicationList::CreateScreen3() { std::array<Screens::Tile::Applications, 6> applications { - {{"A", Apps::Meter}, + { + + {Symbols::drum, Apps::Jumpscore}, + {"", Apps::None}, {"B", Apps::Navigation}, {"C", Apps::Clock}, - {"D", Apps::Music}, {"E", Apps::SysInfo}, - {"F", Apps::Brightness} + {"", Apps::None} } }; return std::make_unique<Screens::Tile>(2, 3, app, settingsController, batteryController, dateTimeController, applications); -}*/ +} |
