diff options
author | Avamander <avamander@gmail.com> | 2021-04-18 20:28:14 +0300 |
---|---|---|
committer | Avamander <avamander@gmail.com> | 2021-04-24 11:39:53 +0300 |
commit | 40d45d923b033363ff1304b47eac238dd4495a57 (patch) | |
tree | 9e7b668fdf23a7be892b8e2bf8b4d62b884cee06 /src/displayapp/screens/FlashLight.h | |
parent | e56ebb8bd621cc8838e86fa032d680a6e7a35ffc (diff) |
Reformatted all the files according to clang-format style
Diffstat (limited to 'src/displayapp/screens/FlashLight.h')
-rw-r--r-- | src/displayapp/screens/FlashLight.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/src/displayapp/screens/FlashLight.h b/src/displayapp/screens/FlashLight.h index c62472ab..5bd188de 100644 --- a/src/displayapp/screens/FlashLight.h +++ b/src/displayapp/screens/FlashLight.h @@ -6,30 +6,28 @@ #include "systemtask/SystemTask.h" #include "components/brightness/BrightnessController.h" - namespace Pinetime { - + namespace Applications { namespace Screens { - class FlashLight : public Screen{ - public: - FlashLight(DisplayApp* app, System::SystemTask &systemTask, Controllers::BrightnessController& brightness); - ~FlashLight() override; + class FlashLight : public Screen { + public: + FlashLight(DisplayApp* app, System::SystemTask& systemTask, Controllers::BrightnessController& brightness); + ~FlashLight() override; - bool Refresh() override; - - bool OnTouchEvent(Pinetime::Applications::TouchEvents event) override; - void OnClickEvent(lv_obj_t *obj, lv_event_t event); + bool Refresh() override; - private: - Pinetime::System::SystemTask& systemTask; - Controllers::BrightnessController& brightness; + bool OnTouchEvent(Pinetime::Applications::TouchEvents event) override; + void OnClickEvent(lv_obj_t* obj, lv_event_t event); - lv_obj_t* flashLight; - lv_obj_t* backgroundAction; - bool isOn = true; + private: + Pinetime::System::SystemTask& systemTask; + Controllers::BrightnessController& brightness; + lv_obj_t* flashLight; + lv_obj_t* backgroundAction; + bool isOn = true; }; } } |