diff options
| author | Avamander <avamander@gmail.com> | 2021-04-18 17:28:14 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2021-04-24 08:39:53 (GMT) |
| commit | 40d45d923b033363ff1304b47eac238dd4495a57 (patch) | |
| tree | 9e7b668fdf23a7be892b8e2bf8b4d62b884cee06 /src/displayapp/screens/Motion.h | |
| parent | e56ebb8bd621cc8838e86fa032d680a6e7a35ffc (diff) | |
Reformatted all the files according to clang-format style
Diffstat (limited to 'src/displayapp/screens/Motion.h')
| -rw-r--r-- | src/displayapp/screens/Motion.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/displayapp/screens/Motion.h b/src/displayapp/screens/Motion.h index ad1341a..a06a5d1 100644 --- a/src/displayapp/screens/Motion.h +++ b/src/displayapp/screens/Motion.h @@ -12,27 +12,26 @@ namespace Pinetime { namespace Applications { namespace Screens { - class Motion : public Screen{ - public: + class Motion : public Screen { + public: Motion(DisplayApp* app, Controllers::MotionController& motionController); ~Motion() override; bool Refresh() override; bool OnButtonPushed() override; - private: + private: Controllers::MotionController& motionController; - lv_obj_t * chart; - lv_chart_series_t * ser1; - lv_chart_series_t * ser2; - lv_chart_series_t * ser3; + lv_obj_t* chart; + lv_chart_series_t* ser1; + lv_chart_series_t* ser2; + lv_chart_series_t* ser3; lv_obj_t* labelStep; lv_obj_t* labelStepValue; static constexpr uint8_t nbStepsBufferSize = 9; - char nbStepsBuffer[nbStepsBufferSize+1]; + char nbStepsBuffer[nbStepsBufferSize + 1]; bool running = true; - }; } } |
