From a7a1dcbf23382147c62b06a9d27b7813c01eccd2 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Sat, 21 Jan 2023 13:07:40 +0200 Subject: [PATCH] infineat: Remove unnecessary background colorization --- src/displayapp/screens/WatchFaceInfineat.cpp | 6 ------ src/displayapp/screens/WatchFaceInfineat.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/displayapp/screens/WatchFaceInfineat.cpp b/src/displayapp/screens/WatchFaceInfineat.cpp index 8f654857..7266b328 100644 --- a/src/displayapp/screens/WatchFaceInfineat.cpp +++ b/src/displayapp/screens/WatchFaceInfineat.cpp @@ -47,12 +47,6 @@ WatchFaceInfineat::WatchFaceInfineat(DisplayApp* app, font_bebas = lv_font_load("F:/fonts/bebas.bin"); } - // Black background covering the whole screen - background = lv_obj_create(lv_scr_act(), nullptr); - lv_obj_set_style_local_bg_color(background, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK); - lv_obj_set_size(background, 240, 240); - lv_obj_align(background, lv_scr_act(), LV_ALIGN_IN_TOP_LEFT, 0, 0); - // Side Cover lineBattery = lv_line_create(lv_scr_act(), nullptr); diff --git a/src/displayapp/screens/WatchFaceInfineat.h b/src/displayapp/screens/WatchFaceInfineat.h index a24a4e9e..bf2d3cc4 100644 --- a/src/displayapp/screens/WatchFaceInfineat.h +++ b/src/displayapp/screens/WatchFaceInfineat.h @@ -60,8 +60,6 @@ namespace Pinetime { DirtyValue stepCount {}; DirtyValue notificationState {}; - lv_obj_t* background; - // Lines making up the side cover lv_obj_t* lineBattery;