diff options
author | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 17:45:16 +0200 |
---|---|---|
committer | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 17:45:16 +0200 |
commit | 6a925292722be365f4efc288c64b023639f0c201 (patch) | |
tree | 0d60937546c41844ead44375d6fbee7e6cb3ea0b /src/displayapp/screens/Steps.h | |
parent | a4968b502990f4a9e848c5240be2ee73348dd38e (diff) |
Revert "Reset"
This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
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 00000000..9c135e26 --- /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; + + }; + } + } +} |