Home
last modified time | relevance | path

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

/lvgl-3.4.0/examples/widgets/roller/
Dlv_example_roller_3.c21 lv_area_t roller_coords; in mask_event_cb() local
22 lv_obj_get_coords(obj, &roller_coords); in mask_event_cb()
25 rect_area.x1 = roller_coords.x1; in mask_event_cb()
26 rect_area.x2 = roller_coords.x2; in mask_event_cb()
27 rect_area.y1 = roller_coords.y1; in mask_event_cb()
28 rect_area.y2 = roller_coords.y1 + (lv_obj_get_height(obj) - font_h - line_space) / 2; in mask_event_cb()
35 rect_area.y2 = roller_coords.y2; in mask_event_cb()
Dlv_example_roller_3.py70 roller_coords = lv.area_t()
71 obj.get_coords(roller_coords)
74 rect_area.x1 = roller_coords.x1
75 rect_area.x2 = roller_coords.x2
76 rect_area.y1 = roller_coords.y1
77 rect_area.y2 = roller_coords.y1 + (obj.get_height() - font_h - line_space) // 2
84 rect_area.y2 = roller_coords.y2
/lvgl-3.4.0/src/widgets/
Dlv_roller.c579 lv_area_t roller_coords; in get_sel_area() local
580 lv_obj_get_coords(obj, &roller_coords); in get_sel_area()
582 sel_area->x1 = roller_coords.x1; in get_sel_area()
583 sel_area->x2 = roller_coords.x2; in get_sel_area()