Home
last modified time | relevance | path

Searched refs:to_focus (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/extra/others/gridnav/
Dlv_gridnav.c84 void lv_gridnav_set_focused(lv_obj_t * cont, lv_obj_t * to_focus, lv_anim_enable_t anim_en) in lv_gridnav_set_focused() argument
86 LV_ASSERT_NULL(to_focus); in lv_gridnav_set_focused()
93 if(obj_is_focuable(to_focus) == false) { in lv_gridnav_set_focused()
99 lv_obj_add_state(to_focus, LV_STATE_FOCUSED | LV_STATE_FOCUS_KEY); in lv_gridnav_set_focused()
100 lv_obj_scroll_to_view(to_focus, anim_en); in lv_gridnav_set_focused()
101 dsc->focused_obj = to_focus; in lv_gridnav_set_focused()
Dlv_gridnav.h112 void lv_gridnav_set_focused(lv_obj_t * cont, lv_obj_t * to_focus, lv_anim_enable_t anim_en);