refactor(event): add _cb postfix to lv_obj_add_event()
This commit is contained in:
@@ -104,7 +104,7 @@ Usage
|
||||
|
||||
/* initialize X11 display driver */
|
||||
lv_disp_t * disp = lv_x11_window_create("LVGL X11 Simulation", monitor_hor_res, monitor_ver_res);
|
||||
lv_display_add_event(disp, on_close_cb, LV_EVENT_DELETE, disp);
|
||||
lv_display_add_event_cb(disp, on_close_cb, LV_EVENT_DELETE, disp);
|
||||
|
||||
/* initialize X11 input drivers (for keyboard, mouse & mousewheel) */
|
||||
LV_IMG_DECLARE(my_mouse_cursor_icon);
|
||||
|
||||
Reference in New Issue
Block a user