This commit is contained in:
Joaquim
2021-02-01 12:14:49 +00:00
parent ccd423bcef
commit a4361de0cf
12 changed files with 14 additions and 242 deletions

View File

@@ -8,11 +8,14 @@
using namespace Pinetime::Applications::Screens;
ApplicationList::ApplicationList(Pinetime::Applications::DisplayApp *app) : Screen(app),
screens{app, {
[this]() -> std::unique_ptr<Screen> { return CreateScreen1(); }, [this]() -> std::unique_ptr<Screen> { return CreateScreen2(); },
//[this]() -> std::unique_ptr<Screen> { return CreateScreen3(); }
}}
ApplicationList::ApplicationList(Pinetime::Applications::DisplayApp *app) :
Screen(app),
screens{app, {
[this]() -> std::unique_ptr<Screen> { return CreateScreen1(); },
[this]() -> std::unique_ptr<Screen> { return CreateScreen2(); },
//[this]() -> std::unique_ptr<Screen> { return CreateScreen3(); }
}
}
{
}
@@ -72,7 +75,7 @@ std::unique_ptr<Screen> ApplicationList::CreateScreen3()
{
std::array<Screens::Tile::Applications, 6> applications{
{{"A", Apps::Meter},
{"B", Apps::Gauge},
{"B", Apps::None},
{"C", Apps::Clock},
{"D", Apps::Music},
{"E", Apps::SysInfo},