diff options
| author | ITCactus <n/a> | 2022-05-20 14:24:22 +0200 |
|---|---|---|
| committer | ITCactus <n/a> | 2022-06-30 15:15:32 +0200 |
| commit | e7c0b2c5c250f9dc43175bb8d73b2961bfae6b93 (patch) | |
| tree | b594fb3578cce8e13695185d81ded43a26f4e733 /src/displayapp/screens/WatchFaceCasioStyleG7710.h | |
| parent | 917e46c684a590f708b12458dc5f197cc9bee0fc (diff) | |
fix memory leak + refactoring
Diffstat (limited to 'src/displayapp/screens/WatchFaceCasioStyleG7710.h')
| -rw-r--r-- | src/displayapp/screens/WatchFaceCasioStyleG7710.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/displayapp/screens/WatchFaceCasioStyleG7710.h b/src/displayapp/screens/WatchFaceCasioStyleG7710.h index d77393e0..a8382ff2 100644 --- a/src/displayapp/screens/WatchFaceCasioStyleG7710.h +++ b/src/displayapp/screens/WatchFaceCasioStyleG7710.h @@ -56,6 +56,17 @@ namespace Pinetime { DirtyValue<bool> heartbeatRunning {}; DirtyValue<bool> notificationState {}; + lv_point_t line_icons_points[3] {{0, 5}, {117, 5}, {122, 0}}; + lv_point_t line_day_of_week_number_points[4] {{0, 0}, {100, 0}, {95, 95}, {0, 95}}; + lv_point_t line_day_of_year_points[3] {{0, 5}, {130, 5}, {135, 0}}; + lv_point_t line_date_points[3] {{0, 5}, {135, 5}, {140, 0}}; + lv_point_t line_time_points[3] {{0, 0}, {230, 0}, {235, 5}}; + + lv_color_t color_text = lv_color_hex(0x98B69A); + + lv_style_t style_line; + lv_style_t style_border; + lv_obj_t* label_time; lv_obj_t* line_time; lv_obj_t* label_time_ampm; |
