infineat: Remove unnecessary background colorization
This commit is contained in:
parent
1feb01b25f
commit
a7a1dcbf23
|
@ -47,12 +47,6 @@ WatchFaceInfineat::WatchFaceInfineat(DisplayApp* app,
|
||||||
font_bebas = lv_font_load("F:/fonts/bebas.bin");
|
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
|
// Side Cover
|
||||||
lineBattery = lv_line_create(lv_scr_act(), nullptr);
|
lineBattery = lv_line_create(lv_scr_act(), nullptr);
|
||||||
|
|
||||||
|
|
|
@ -60,8 +60,6 @@ namespace Pinetime {
|
||||||
DirtyValue<uint32_t> stepCount {};
|
DirtyValue<uint32_t> stepCount {};
|
||||||
DirtyValue<bool> notificationState {};
|
DirtyValue<bool> notificationState {};
|
||||||
|
|
||||||
lv_obj_t* background;
|
|
||||||
|
|
||||||
// Lines making up the side cover
|
// Lines making up the side cover
|
||||||
lv_obj_t* lineBattery;
|
lv_obj_t* lineBattery;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user