Hi,
I’m using lvgl library on beaglebone (framebuffer device). I add big image 1024x768 using:
lv_img_set_src(img, str.str().c_str());
lv_obj_center(img);
lv_obj_align(img, LV_ALIGN_TOP_MID, 0, 0);
lv_obj_set_width( img, LV_SIZE_CONTENT); /// 1
lv_obj_set_height( img, 779); /// 1
and when I display cursor using:
/*Set a cursor for the mouse*/
LV_IMG_DECLARE(mouse_cursor_icon)
lv_obj_t * cursor_obj = lv_img_create(lv_scr_act()); /*Create an image object for the cursor */
lv_img_set_src(cursor_obj, &mouse_cursor_icon); /*Set the image source*/
lv_indev_set_cursor(mouse_indev, cursor_obj); /*Connect the image object to the driver*/
I’m experimenting mouse lagging when moving over image but when outside of image it works smoothly. Am I doing something wrong?
Thanks.