feat(draw_buf): add lv_draw_buf_t for stride support (#4423)

This commit is contained in:
Gabor Kiss-Vamosi
2023-07-31 18:44:02 +02:00
committed by GitHub
parent 35c23a4069
commit 45aa59a473
75 changed files with 621 additions and 1219 deletions

View File

@@ -48,7 +48,7 @@ void lv_example_snapshot_1(void)
lv_img_set_src(img, &img_star);
lv_obj_set_style_bg_color(img, lv_color_black(), 0);
lv_obj_set_style_bg_opa(img, LV_OPA_COVER, 0);
lv_obj_set_style_transform_zoom(img, 400, LV_STATE_PRESSED);
// lv_obj_set_style_transform_zoom(img, 400, LV_STATE_PRESSED);
lv_obj_add_flag(img, LV_OBJ_FLAG_CLICKABLE);
lv_obj_add_event(img, event_cb, LV_EVENT_PRESSED, snapshot_obj);
lv_obj_add_event(img, event_cb, LV_EVENT_RELEASED, snapshot_obj);