diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-09-20 12:13:46 (GMT) |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2021-12-09 20:32:07 (GMT) |
| commit | 9ffd28f735fd2a184f03b2ce4a46a24b7de10ba4 (patch) | |
| tree | 20ffc01294bc774b2169f27a45cb5c5dc4973afd /src/displayapp/screens/settings/SettingWatchFace.h | |
| parent | 589733d11e623ea66ee0bba231f53c67ce04ce7a (diff) | |
Style checkboxes as radio buttons
Diffstat (limited to 'src/displayapp/screens/settings/SettingWatchFace.h')
| -rw-r--r-- | src/displayapp/screens/settings/SettingWatchFace.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/displayapp/screens/settings/SettingWatchFace.h b/src/displayapp/screens/settings/SettingWatchFace.h index d4a96c6..1863458 100644 --- a/src/displayapp/screens/settings/SettingWatchFace.h +++ b/src/displayapp/screens/settings/SettingWatchFace.h @@ -1,9 +1,10 @@ #pragma once -#include <cstdint> -#include <lvgl/lvgl.h> #include "components/settings/Settings.h" #include "displayapp/screens/Screen.h" +#include <array> +#include <cstdint> +#include <lvgl/lvgl.h> namespace Pinetime { @@ -18,8 +19,9 @@ namespace Pinetime { void UpdateSelected(lv_obj_t* object, lv_event_t event); private: + const std::array<std::string, 3> options = {" Digital face", " Analog face", " PineTimeStyle"}; Controllers::Settings& settingsController; - uint8_t optionsTotal; + lv_obj_t* cbOption[2]; }; } |
