summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Clock.h
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-04-18 17:28:14 (GMT)
committerAvamander <avamander@gmail.com>2021-04-24 08:39:53 (GMT)
commit40d45d923b033363ff1304b47eac238dd4495a57 (patch)
tree9e7b668fdf23a7be892b8e2bf8b4d62b884cee06 /src/displayapp/screens/Clock.h
parente56ebb8bd621cc8838e86fa032d680a6e7a35ffc (diff)
Reformatted all the files according to clang-format style
Diffstat (limited to 'src/displayapp/screens/Clock.h')
-rw-r--r--src/displayapp/screens/Clock.h67
1 files changed, 31 insertions, 36 deletions
diff --git a/src/displayapp/screens/Clock.h b/src/displayapp/screens/Clock.h
index 1a4e0eb..ef008c8 100644
--- a/src/displayapp/screens/Clock.h
+++ b/src/displayapp/screens/Clock.h
@@ -23,42 +23,37 @@ namespace Pinetime {
namespace Applications {
namespace Screens {
class Clock : public Screen {
- public:
- Clock(DisplayApp* app,
- Controllers::DateTime& dateTimeController,
- Controllers::Battery& batteryController,
- Controllers::Ble& bleController,
- Controllers::NotificationManager& notificatioManager,
- Controllers::Settings &settingsController,
- Controllers::HeartRateController& heartRateController,
- Controllers::MotionController& motionController);
- ~Clock() override;
-
- bool Refresh() override;
-
- bool OnTouchEvent(TouchEvents event) override;
-
- private:
-
- Controllers::DateTime& dateTimeController;
- Controllers::Battery& batteryController;
- Controllers::Ble& bleController;
- Controllers::NotificationManager& notificatioManager;
- Controllers::Settings& settingsController;
- Controllers::HeartRateController& heartRateController;
- Controllers::MotionController& motionController;
-
-
- ScreenList<2> screens;
- std::unique_ptr<Screen> WatchFaceDigitalScreen();
- std::unique_ptr<Screen> WatchFaceAnalogScreen();
-
- // Examples for more watch faces
- //std::unique_ptr<Screen> WatchFaceMinimalScreen();
- //std::unique_ptr<Screen> WatchFaceCustomScreen();
-
-
-
+ public:
+ Clock(DisplayApp* app,
+ Controllers::DateTime& dateTimeController,
+ Controllers::Battery& batteryController,
+ Controllers::Ble& bleController,
+ Controllers::NotificationManager& notificatioManager,
+ Controllers::Settings& settingsController,
+ Controllers::HeartRateController& heartRateController,
+ Controllers::MotionController& motionController);
+ ~Clock() override;
+
+ bool Refresh() override;
+
+ bool OnTouchEvent(TouchEvents event) override;
+
+ private:
+ Controllers::DateTime& dateTimeController;
+ Controllers::Battery& batteryController;
+ Controllers::Ble& bleController;
+ Controllers::NotificationManager& notificatioManager;
+ Controllers::Settings& settingsController;
+ Controllers::HeartRateController& heartRateController;
+ Controllers::MotionController& motionController;
+
+ ScreenList<2> screens;
+ std::unique_ptr<Screen> WatchFaceDigitalScreen();
+ std::unique_ptr<Screen> WatchFaceAnalogScreen();
+
+ // Examples for more watch faces
+ // std::unique_ptr<Screen> WatchFaceMinimalScreen();
+ // std::unique_ptr<Screen> WatchFaceCustomScreen();
};
}
}