PineTimeStyle color picker initial commit

This commit is contained in:
Kieran Cawthray
2021-06-24 19:15:23 +02:00
parent 14721e8f1e
commit 38ab0add48
7 changed files with 385 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ Settings::Settings(Pinetime::Applications::DisplayApp* app, Pinetime::Controller
},
[this]() -> std::unique_ptr<Screen> {
return CreateScreen2();
},
[this]() -> std::unique_ptr<Screen> {
return CreateScreen3();
}},
Screens::ScreenListModes::UpDown} {
}
@@ -60,3 +63,15 @@ std::unique_ptr<Screen> Settings::CreateScreen2() {
return std::make_unique<Screens::List>(1, 2, app, settingsController, applications);
}
std::unique_ptr<Screen> Settings::CreateScreen3() {
std::array<Screens::List::Applications, 4> applications {{
{Symbols::paintbrush, "PTS Colors", Apps::SettingPineTimeStyle},
{Symbols::none, "None", Apps::None},
{Symbols::none, "None", Apps::None},
{Symbols::none, "None", Apps::None},
}};
return std::make_unique<Screens::List>(2, 2, app, settingsController, applications);
}