Use PageIndicator in CheckboxList

This commit is contained in:
Riku Isokoski
2022-10-13 21:36:11 +03:00
committed by JF
parent d3ba184f30
commit 9b2221173c
2 changed files with 10 additions and 29 deletions

View File

@@ -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;
};
}
}