diff options
| author | JF <jf@codingfield.com> | 2020-08-14 17:54:43 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-08-14 17:54:43 (GMT) |
| commit | e6f5ab7b9145e842708611cc5b13066f89a1673d (patch) | |
| tree | 421d23a9b963459276b7a462f009462d50d36dbc /src/DisplayApp/Screens/ApplicationList.h | |
| parent | bbfc20c3ff4b741cd21b162389905a59a8e22f3f (diff) | |
| parent | 32f20fa994fec9e21d2af4d7bd287b94316b3970 (diff) | |
Merge develop and fix conflicts.
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..372cbb7 --- /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<1> screens; + std::unique_ptr<Screen> CreateScreen1(); + std::unique_ptr<Screen> CreateScreen2(); + std::unique_ptr<Screen> CreateScreen3(); + }; + } + } +}
\ No newline at end of file |
