diff options
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); -}*/ +} |
