inactive, pressed, etc.) of an image without storing more versions of the same image. This feature can be enabled in the style by settingimg_recolor_opabetweenLV_OPA_TRANSP(no recolor, value: 0) andLV_OPA_COVER(full recolor, value: 255)....
opa_scale_anim(lv_obj_t * obj, lv_anim_value_t v); #endif staticvoidlv_event_mark_deleted(lv_obj_t * obj); static voidlv_obj_del_async_cb(void * obj); static lv__trans_t * trans_create(lv_obj_t * obj, lv_style_property_t prop, uint8_t part, lv_state_t prev_...
_lv_style_const_prop_id_BG_IMAGE_RECOLOR_OPA _lv_style_const_prop_id_BG_IMAGE_SRC _lv_style_const_prop_id_BG_IMAGE_TILED _lv_style_const_prop_id_BG_MAIN_OPA _lv_style_const_prop_id_BG_MAIN_STOP _lv_style_const_prop_id_BG_OPA _lv_style_const_prop_id_BITMAP_MASK_SRC _lv_st...
image_recolor(&styles->bg, LV_STATE_DEFAULT, COLOR_BG_TEXT); _style_set_linecolor(&styles->bg, LV_STATE_DEFAULT, COLOR_BG_TEXT); lv_style_set_linewidth(&styles->bg, LV_STATE_DEFAULT, 1); lv_style_set_pad_left(&styles-
lv_anim_set_time(&a, time); lv_anim_set_delay(&a, delay); lv_anim_set_path_cb(&a, path); lv_anim_set_path(&a, path); a.early_apply = 0; lv_anim_start(&a); } Expand Down Expand Up @@ -2538,14 +2538,14 @@ lv_opa_t _lv_obj_get_style_opa(const lv_obj_t * obj...
LV_COLOR_MIX(dsc->recolor, LV_COLOR_CHROMA_KEY, dsc->recolor_opa); LV_COLOR_SET_R(colorKey, colorKey.ch.red != 0 ? colorKeych.red - 1 0); LV_COLORSET_G(colorKey, colorKey.ch.green != 0 ? colorKeych.green - : 0); 3 changes 2 additions&...
set_style_opa(128, 0) this results in about 0.8-0.9 ms/attr. So clearly my API is adding a good bit of overhead (3-4x). But if you have 50 attributes to set, even the raw API will exceed the 40ms tick time and get you in trouble. My biggest "block" of updates altered 53...
(), NULL); lv_obj_set_pos(canvas, 100, 100); lv_canvas_set_buffer(canvas, mask_map, MASK_WIDTH, MASK_HEIGHT, LV_IMG_CF_ALPHA_8BIT); lv_canvas_fill_bg(canvas, LV_COLOR_WHITE, 255); /*Draw a label to the canvas. The result "image" will be used as mask*/ lv_draw_label_...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
Embedded graphics library to create beautiful UIs for any MCU, MPU and display type. - lvgl/src/core/lv_obj_style.c at 4be4cb6eee01422913658b6a48622599006e9db3 · lvgl/lvgl