diff options
| author | Avamander <avamander@gmail.com> | 2020-10-02 18:49:55 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2020-10-02 18:49:55 (GMT) |
| commit | 4daab2692692d47af24a9384eb0f402821527882 (patch) | |
| tree | bc525f6fc2ea8a378ac4e6fba729c956f7dc1d66 /src/displayapp/screens/ApplicationList.h | |
| parent | e3fb2f0b8974f3e9a124d27f4b568e754ccfb782 (diff) | |
Renamed displayapp/Screens to displayapp/screens
Diffstat (limited to 'src/displayapp/screens/ApplicationList.h')
| -rw-r--r-- | src/displayapp/screens/ApplicationList.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/displayapp/screens/ApplicationList.h b/src/displayapp/screens/ApplicationList.h new file mode 100644 index 0000000..a1e6811 --- /dev/null +++ b/src/displayapp/screens/ApplicationList.h @@ -0,0 +1,32 @@ +#pragma once + +#include <vector> +#include <Components/Ble/NimbleController.h> +#include "Screen.h" +#include "Label.h" +#include "ScreenList.h" +#include "Gauge.h" +#include "Meter.h" +#include <functional> + +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 |
