From e3fb2f0b8974f3e9a124d27f4b568e754ccfb782 Mon Sep 17 00:00:00 2001 From: Avamander Date: Fri, 2 Oct 2020 21:46:41 +0300 Subject: Renamed DisplayApp/ to displayapp/ --- src/displayapp/Screens/ApplicationList.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/displayapp/Screens/ApplicationList.h (limited to 'src/displayapp/Screens/ApplicationList.h') diff --git a/src/displayapp/Screens/ApplicationList.h b/src/displayapp/Screens/ApplicationList.h new file mode 100644 index 00000000..a1e6811b --- /dev/null +++ b/src/displayapp/Screens/ApplicationList.h @@ -0,0 +1,32 @@ +#pragma once + +#include +#include +#include "Screen.h" +#include "Label.h" +#include "ScreenList.h" +#include "Gauge.h" +#include "Meter.h" +#include + +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 CreateScreen1(); + std::unique_ptr CreateScreen2(); + std::unique_ptr CreateScreen3(); + }; + } + } +} \ No newline at end of file -- cgit v1.2.3-70-g09d2