summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/PineTimeStyle.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-08-28 19:02:11 (GMT)
committerJean-François Milants <jf@codingfield.com>2021-08-28 19:02:11 (GMT)
commit31bc47d1cb397f5de0275d0d95aac7ca29cc7392 (patch)
tree1fa8900ad36efc720f4c1cb741afbe545d930c94 /src/displayapp/screens/PineTimeStyle.h
parentef9f809e14155ff304b8f047aa3beae3dabb78e8 (diff)
Settings : use enums instead of ints to store colors. Group all PTS settings into a struct.
PTS/SettingsPTS : Convert to/from LVGL color and Settings::Color, add functions to reduce code duplication. Adapt SettingPineTimeStyle with the last Screen Interface
Diffstat (limited to 'src/displayapp/screens/PineTimeStyle.h')
-rw-r--r--src/displayapp/screens/PineTimeStyle.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/displayapp/screens/PineTimeStyle.h b/src/displayapp/screens/PineTimeStyle.h
index 16b6de1..cb74ead 100644
--- a/src/displayapp/screens/PineTimeStyle.h
+++ b/src/displayapp/screens/PineTimeStyle.h
@@ -68,11 +68,6 @@ namespace Pinetime {
lv_obj_t* notificationIcon;
lv_obj_t* stepGauge;
lv_color_t needle_colors[1];
- lv_color_t pts_colors[17] = {LV_COLOR_WHITE, LV_COLOR_SILVER, LV_COLOR_GRAY, LV_COLOR_BLACK,
- LV_COLOR_RED, LV_COLOR_MAROON, LV_COLOR_YELLOW, LV_COLOR_OLIVE,
- LV_COLOR_LIME, LV_COLOR_GREEN, LV_COLOR_CYAN, LV_COLOR_TEAL,
- LV_COLOR_BLUE, LV_COLOR_NAVY, LV_COLOR_MAGENTA, LV_COLOR_PURPLE,
- LV_COLOR_ORANGE};
Controllers::DateTime& dateTimeController;
Controllers::Battery& batteryController;