summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/CheckboxList.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/CheckboxList.h')
-rw-r--r--src/displayapp/screens/CheckboxList.h7
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;
};
}
}