InfiniTime/src/displayapp/screens/settings/SettingSteps.h

30 lines
634 B
C
Raw Normal View History

#pragma once
#include <cstdint>
#include <lvgl/lvgl.h>
#include "components/settings/Settings.h"
#include "displayapp/screens/Screen.h"
namespace Pinetime {
namespace Applications {
namespace Screens {
2021-07-19 09:26:12 -04:00
class SettingSteps : public Screen {
public:
SettingSteps(DisplayApp* app, Pinetime::Controllers::Settings& settingsController);
~SettingSteps() override;
2021-07-19 09:26:12 -04:00
void UpdateSelected(lv_obj_t* object, lv_event_t event);
2021-07-19 09:26:12 -04:00
private:
Controllers::Settings& settingsController;
2021-07-19 09:26:12 -04:00
lv_obj_t* stepValue;
lv_obj_t* btnPlus;
lv_obj_t* btnMinus;
};
}
}
}