diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2022-10-13 21:36:11 +0300 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2022-10-16 10:31:41 +0200 |
| commit | 9b2221173c22fe9aa7d60dc8f9bb3f7d3032bd8b (patch) | |
| tree | 1260114c35838f7ea284757d23f3cd431a2747d7 /src/displayapp/screens/CheckboxList.h | |
| parent | d3ba184f3017fdde2a907f77b68f381045d8ecce (diff) | |
Use PageIndicator in CheckboxList
Diffstat (limited to 'src/displayapp/screens/CheckboxList.h')
| -rw-r--r-- | src/displayapp/screens/CheckboxList.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/displayapp/screens/CheckboxList.h b/src/displayapp/screens/CheckboxList.h index e9104bfb..48125d4b 100644 --- a/src/displayapp/screens/CheckboxList.h +++ b/src/displayapp/screens/CheckboxList.h @@ -7,6 +7,7 @@ #include <functional> #include <lvgl/lvgl.h> #include <memory> +#include "displayapp/widgets/PageIndicator.h" namespace Pinetime { namespace Applications { @@ -35,11 +36,9 @@ namespace Pinetime { std::function<void(uint32_t)> OnValueChanged; std::array<Item, MaxItems> options; std::array<lv_obj_t*, MaxItems> cbOption; - std::array<lv_point_t, 2> pageIndicatorBasePoints; - std::array<lv_point_t, 2> pageIndicatorPoints; - lv_obj_t* pageIndicatorBase; - lv_obj_t* pageIndicator; uint32_t value; + + Widgets::PageIndicator pageIndicator; }; } } |
