feat(indev) Add crown support to pointer input device (#5057)
This commit is contained in:
committed by
GitHub
parent
1cb3e219a9
commit
54f9003722
@@ -214,6 +214,7 @@ static lv_obj_t * box_shadow_obj_create(lv_obj_t * parent, int32_t col, int32_t
|
||||
lv_obj_t * obj = lv_obj_create(parent);
|
||||
lv_obj_remove_style_all(obj);
|
||||
lv_obj_set_style_bg_opa(obj, LV_OPA_20, 0);
|
||||
lv_obj_set_style_bg_color(obj, lv_color_black(), 0);
|
||||
lv_obj_set_style_shadow_color(obj, lv_color_hex3(0xf00), 0);
|
||||
lv_obj_set_style_opa(obj, opa_saved, 0);
|
||||
lv_obj_set_size(obj, DEF_WIDTH - 20, DEF_HEIGHT - 5);
|
||||
@@ -452,6 +453,7 @@ static lv_obj_t * arc_obj_create(lv_obj_t * parent, int32_t col, int32_t row, in
|
||||
lv_obj_t * obj = lv_arc_create(parent);
|
||||
lv_obj_remove_style_all(obj);
|
||||
lv_obj_set_style_arc_width(obj, w, 0);
|
||||
lv_obj_set_style_arc_color(obj, lv_color_white(), 0);
|
||||
lv_obj_set_style_opa(obj, opa_saved, 0);
|
||||
lv_arc_set_bg_angles(obj, start, end);
|
||||
lv_obj_set_size(obj, DEF_HEIGHT, DEF_HEIGHT);
|
||||
|
||||
Reference in New Issue
Block a user