summaryrefslogtreecommitdiff
path: root/src/displayapp/widgets/PageIndicator.cpp
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2022-09-05 22:03:56 +0200
committerKieran Cawthray <kieranc@gmail.com>2022-09-05 22:03:56 +0200
commit293340515812b15030b6497a3eed1b1b8fceadae (patch)
treea46c96953676a756723477a363a5eedafbbd3dd1 /src/displayapp/widgets/PageIndicator.cpp
parent593ca2028d77c013fa4026a7183b7f66f2cca5ba (diff)
parentf53e75063b6ef618d65a1f287df52ba01c3351f5 (diff)
Merge remote-tracking branch 'upstream/develop' into pts-options
Diffstat (limited to 'src/displayapp/widgets/PageIndicator.cpp')
-rw-r--r--src/displayapp/widgets/PageIndicator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/displayapp/widgets/PageIndicator.cpp b/src/displayapp/widgets/PageIndicator.cpp
index 06058beb..84d03e7e 100644
--- a/src/displayapp/widgets/PageIndicator.cpp
+++ b/src/displayapp/widgets/PageIndicator.cpp
@@ -1,4 +1,5 @@
#include "displayapp/widgets/PageIndicator.h"
+#include "displayapp/InfiniTimeTheme.h"
using namespace Pinetime::Applications::Widgets;
@@ -13,7 +14,7 @@ void PageIndicator::Create() {
pageIndicatorBase = lv_line_create(lv_scr_act(), nullptr);
lv_obj_set_style_local_line_width(pageIndicatorBase, LV_LINE_PART_MAIN, LV_STATE_DEFAULT, 3);
- lv_obj_set_style_local_line_color(pageIndicatorBase, LV_LINE_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0x111111));
+ lv_obj_set_style_local_line_color(pageIndicatorBase, LV_LINE_PART_MAIN, LV_STATE_DEFAULT, Colors::bgDark);
lv_line_set_points(pageIndicatorBase, pageIndicatorBasePoints, 2);
const int16_t indicatorSize = LV_VER_RES / nScreens;
@@ -26,6 +27,6 @@ void PageIndicator::Create() {
pageIndicator = lv_line_create(lv_scr_act(), nullptr);
lv_obj_set_style_local_line_width(pageIndicator, LV_LINE_PART_MAIN, LV_STATE_DEFAULT, 3);
- lv_obj_set_style_local_line_color(pageIndicator, LV_LINE_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_MAKE(0xb0, 0xb0, 0xb0));
+ lv_obj_set_style_local_line_color(pageIndicator, LV_LINE_PART_MAIN, LV_STATE_DEFAULT, Colors::lightGray);
lv_line_set_points(pageIndicator, pageIndicatorPoints, 2);
}