Home
last modified time | relevance | path

Searched refs:left_knob_focus (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.5.0/src/widgets/
Dlv_slider.c88 slider->left_knob_focus = 0U; in lv_slider_constructor()
159 slider->left_knob_focus = 0; in lv_slider_event()
163 slider->left_knob_focus = 1; in lv_slider_event()
182 slider->left_knob_focus = 0; in lv_slider_event()
186 slider->left_knob_focus = 1; in lv_slider_event()
266 if(slider->left_knob_focus == 0) slider->left_knob_focus = 1; in lv_slider_event()
268 slider->left_knob_focus = 0; in lv_slider_event()
282 slider->left_knob_focus = 0; in lv_slider_event()
313 … if(!slider->left_knob_focus) lv_slider_set_value(obj, lv_slider_get_value(obj) + 1, LV_ANIM_ON); in lv_slider_event()
317 … if(!slider->left_knob_focus) lv_slider_set_value(obj, lv_slider_get_value(obj) - 1, LV_ANIM_ON); in lv_slider_event()
Dlv_slider.h49 uint8_t left_knob_focus : 1; /*1: with encoder now the right knob can be adjusted*/ member
/lvgl-3.5.0/tests/src/test_cases/
Dtest_slider.c103 TEST_ASSERT_EQUAL(0U, ptr->left_knob_focus); in test_slider_range_mode_should_leave_edit_mode_if_released()
131 ptr->left_knob_focus = 1; in test_slider_normal_mode_should_leave_edit_mode_if_released()
143 TEST_ASSERT_EQUAL(0U, ptr->left_knob_focus); in test_slider_normal_mode_should_leave_edit_mode_if_released()