ac7b2da611
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
38 lines
797 B
C++
38 lines
797 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <lvgl/lvgl.h>
|
|
#include "displayapp/screens/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;
|
|
|
|
void Refresh() override;
|
|
|
|
private:
|
|
Controllers::MotionController& motionController;
|
|
Controllers::Settings& settingsController;
|
|
|
|
lv_obj_t* lSteps;
|
|
lv_obj_t* lStepsIcon;
|
|
lv_obj_t* stepsArc;
|
|
|
|
uint32_t stepsCount;
|
|
|
|
lv_task_t* taskRefresh;
|
|
};
|
|
}
|
|
}
|
|
}
|