diff options
| author | Kieran Cawthray <kieranc@gmail.com> | 2021-06-25 14:47:56 +0200 |
|---|---|---|
| committer | Kieran Cawthray <kieranc@gmail.com> | 2021-06-25 14:47:56 +0200 |
| commit | 50b92e5dd6bd879b61e5038d3f064d486db864f6 (patch) | |
| tree | d6c69ff68cdca8524821f948cf0d7a12d7d29169 /src/displayapp/screens/settings/SettingPineTimeStyle.h | |
| parent | d5d8438b60dfd34b2399caab67e0efe34c677f54 (diff) | |
Move array to member variable, retrieve colors from settings for display
Diffstat (limited to 'src/displayapp/screens/settings/SettingPineTimeStyle.h')
| -rw-r--r-- | src/displayapp/screens/settings/SettingPineTimeStyle.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/displayapp/screens/settings/SettingPineTimeStyle.h b/src/displayapp/screens/settings/SettingPineTimeStyle.h index b8ec9e9e..9b20f9fb 100644 --- a/src/displayapp/screens/settings/SettingPineTimeStyle.h +++ b/src/displayapp/screens/settings/SettingPineTimeStyle.h @@ -49,7 +49,11 @@ namespace Pinetime { lv_obj_t * calendarCrossBar2; lv_obj_t * stepGauge; lv_color_t needle_colors[1]; - lv_color_t pts_colors[17]; + 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}; }; } } |
