summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Motion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/Motion.h')
-rw-r--r--src/displayapp/screens/Motion.h17
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;
-
};
}
}