From e7c0b2c5c250f9dc43175bb8d73b2961bfae6b93 Mon Sep 17 00:00:00 2001 From: ITCactus Date: Fri, 20 May 2022 14:24:22 +0200 Subject: fix memory leak + refactoring --- src/displayapp/screens/WatchFaceCasioStyleG7710.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/displayapp/screens/WatchFaceCasioStyleG7710.h') 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 heartbeatRunning {}; DirtyValue 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; -- cgit v1.2.3-70-g09d2