New Steps app
Settings to set the steps goal More detail in Motion app New 42px Font
This commit is contained in:
39
src/displayapp/screens/Steps.h
Normal file
39
src/displayapp/screens/Steps.h
Normal file
@@ -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;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user