#pragma once #include #include "Screen.h" #include "ScreenList.h" namespace Pinetime { namespace Applications { namespace Screens { class ApplicationList : public Screen { public: explicit ApplicationList(DisplayApp* app); ~ApplicationList() override; bool Refresh() override; bool OnButtonPushed() override; bool OnTouchEvent(TouchEvents event) override; private: bool running = true; ScreenList<2> screens; std::unique_ptr CreateScreen1(); std::unique_ptr CreateScreen2(); std::unique_ptr CreateScreen3(); }; } } }