summaryrefslogtreecommitdiff
path: root/src/DisplayApp/DisplayApp.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-14 09:46:37 +0200
committerJF <jf@codingfield.com>2020-08-14 09:46:37 +0200
commitf5328ec9eb9d55423b4e511910721d839cacadd8 (patch)
tree8cbc6faf0c87dca43fb33e0dcdaa6ea1e64d0b05 /src/DisplayApp/DisplayApp.h
parent27fa273d8315f972931dba7971a99b0fbba7360e (diff)
Refactor ScreenList to make it more generic : it can now contain any Screen type.
Integrate this new ScreenList in SystemInfo. Add ApplicationList, which is a ScreenList of Tile. This allows to display a menu of more than 6 applications.
Diffstat (limited to 'src/DisplayApp/DisplayApp.h')
-rw-r--r--src/DisplayApp/DisplayApp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DisplayApp/DisplayApp.h b/src/DisplayApp/DisplayApp.h
index 23f04937..6bf020bb 100644
--- a/src/DisplayApp/DisplayApp.h
+++ b/src/DisplayApp/DisplayApp.h
@@ -18,6 +18,7 @@
#include <DisplayApp/Screens/Modal.h>
#include <Components/Ble/NotificationManager.h>
#include "TouchEvents.h"
+#include "Apps.h"
namespace Pinetime {
@@ -42,7 +43,6 @@ namespace Pinetime {
void Start();
void PushMessage(Messages msg);
- enum class Apps {None, Launcher, Clock, SysInfo, Meter, Gauge, Brightness, Music};
void StartApp(Apps app);
void SetFullRefresh(FullRefreshDirections direction);