aboutsummaryrefslogtreecommitdiffstats
path: root/src/DisplayApp/Screens/ApplicationList.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-14 19:54:43 +0200
committerJF <jf@codingfield.com>2020-08-14 19:54:43 +0200
commite6f5ab7b9145e842708611cc5b13066f89a1673d (patch)
tree421d23a9b963459276b7a462f009462d50d36dbc /src/DisplayApp/Screens/ApplicationList.h
parentbbfc20c3ff4b741cd21b162389905a59a8e22f3f (diff)
parent32f20fa994fec9e21d2af4d7bd287b94316b3970 (diff)
Merge develop and fix conflicts.
Diffstat (limited to 'src/DisplayApp/Screens/ApplicationList.h')
-rw-r--r--src/DisplayApp/Screens/ApplicationList.h32
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 00000000..372cbb7a
--- /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