diff options
Diffstat (limited to 'src/displayapp/screens/ApplicationList.h')
-rw-r--r-- | src/displayapp/screens/ApplicationList.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/displayapp/screens/ApplicationList.h b/src/displayapp/screens/ApplicationList.h new file mode 100644 index 00000000..9c95acb8 --- /dev/null +++ b/src/displayapp/screens/ApplicationList.h @@ -0,0 +1,33 @@ +#pragma once + +#include <functional> +#include <vector> + +#include "components/ble/NimbleController.h" +#include "Screen.h" +#include "Label.h" +#include "ScreenList.h" +#include "Gauge.h" +#include "Meter.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<Screen> CreateScreen1(); + std::unique_ptr<Screen> CreateScreen2(); + std::unique_ptr<Screen> CreateScreen3(); + }; + } + } +}
\ No newline at end of file |