diff options
author | Riku Isokoski <riksu9000@gmail.com> | 2022-07-21 19:27:52 +0300 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2022-08-02 22:49:12 +0200 |
commit | edba1d9ccfb2b16c26b12428acb71425f4f41cd5 (patch) | |
tree | ad90c4453342cf83125b815db9a672d104927e1e /src/displayapp/screens/ApplicationList.cpp | |
parent | 77d3239866419c2088a8d857130accb85dcc9657 (diff) |
Add status icons widget
Diffstat (limited to 'src/displayapp/screens/ApplicationList.cpp')
-rw-r--r-- | src/displayapp/screens/ApplicationList.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/displayapp/screens/ApplicationList.cpp b/src/displayapp/screens/ApplicationList.cpp index 9fd408e1..9f3e9568 100644 --- a/src/displayapp/screens/ApplicationList.cpp +++ b/src/displayapp/screens/ApplicationList.cpp @@ -21,10 +21,12 @@ auto ApplicationList::CreateScreenList() const { ApplicationList::ApplicationList(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::Settings& settingsController, Pinetime::Controllers::Battery& batteryController, + Pinetime::Controllers::Ble& bleController, Controllers::DateTime& dateTimeController) : Screen(app), settingsController {settingsController}, batteryController {batteryController}, + bleController {bleController}, dateTimeController {dateTimeController}, screens {app, settingsController.GetAppMenu(), CreateScreenList(), Screens::ScreenListModes::UpDown} { } @@ -43,5 +45,12 @@ std::unique_ptr<Screen> ApplicationList::CreateScreen(unsigned int screenNum) co apps[i] = applications[screenNum * appsPerScreen + i]; } - return std::make_unique<Screens::Tile>(screenNum, nScreens, app, settingsController, batteryController, dateTimeController, apps); + return std::make_unique<Screens::Tile>(screenNum, + nScreens, + app, + settingsController, + batteryController, + bleController, + dateTimeController, + apps); } |