1
0
Fork 0
InfiniTime/src/displayapp/screens/settings/SettingWatchFace.h

31 lines
739 B
C
Raw Normal View History

#pragma once
2021-09-20 15:13:46 +03:00
#include <array>
#include <cstdint>
#include <lvgl/lvgl.h>
2021-12-03 21:39:18 +02:00
#include "components/settings/Settings.h"
#include "displayapp/screens/Screen.h"
namespace Pinetime {
namespace Applications {
namespace Screens {
class SettingWatchFace : public Screen {
2021-04-24 12:00:45 +03:00
public:
SettingWatchFace(DisplayApp* app, Pinetime::Controllers::Settings& settingsController);
~SettingWatchFace() override;
void UpdateSelected(lv_obj_t* object, lv_event_t event);
2021-04-24 12:00:45 +03:00
private:
2021-09-23 02:27:09 +03:00
static constexpr std::array<const char*, 3> options = {" Digital face", " Analog face", " PineTimeStyle"};
Controllers::Settings& settingsController;
2021-09-20 15:13:46 +03:00
2021-09-23 02:27:09 +03:00
lv_obj_t* cbOption[options.size()];
};
}
}
}