diff options
| author | Joaquim <joaquim.org@gmail.com> | 2021-04-19 14:28:38 (GMT) |
|---|---|---|
| committer | Joaquim <joaquim.org@gmail.com> | 2021-04-19 14:28:38 (GMT) |
| commit | cd4a3e1dfef7d9803aa726ef4c177a6d7d5e876d (patch) | |
| tree | 00c3d4d8672b8eea29981e40c696c839093a9ef3 /src/displayapp/screens/Steps.h | |
| parent | bbc24e88b0e2126be39b073ffd734b2ab07c225d (diff) | |
New Steps app
Settings to set the steps goal
More detail in Motion app
New 42px Font
Diffstat (limited to 'src/displayapp/screens/Steps.h')
| -rw-r--r-- | src/displayapp/screens/Steps.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/displayapp/screens/Steps.h b/src/displayapp/screens/Steps.h new file mode 100644 index 0000000..9c135e2 --- /dev/null +++ b/src/displayapp/screens/Steps.h @@ -0,0 +1,39 @@ +#pragma once + +#include <cstdint> +#include <lvgl/lvgl.h> +#include "Screen.h" +#include <components/motion/MotionController.h> + +namespace Pinetime { + + namespace Controllers { + class Settings; + } + + namespace Applications { + namespace Screens { + + class Steps : public Screen { + public: + Steps(DisplayApp* app, Controllers::MotionController& motionController, Controllers::Settings &settingsController); + ~Steps() override; + + bool Refresh() override; + + + private: + + Controllers::MotionController& motionController; + Controllers::Settings& settingsController; + + lv_obj_t * lSteps; + lv_obj_t * lStepsIcon; + lv_obj_t * stepsArc; + + uint32_t stepsCount; + + }; + } + } +} |
