Home
last modified time | relevance | path

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

/lvgl-latest/src/drivers/sdl/
Dlv_sdl_mouse.c35 int16_t last_x; member
79 data->point.x = dsc->last_x; in sdl_mouse_read()
166 indev_dev->last_x = (int16_t)((float)(event->motion.x) / zoom); in lv_sdl_mouse_handler()
171 indev_dev->last_x = (int16_t)((float)(event->motion.x) / zoom); in lv_sdl_mouse_handler()
177 indev_dev->last_x = (int16_t)((float)hor_res * event->tfinger.x / zoom); in lv_sdl_mouse_handler()
182 indev_dev->last_x = (int16_t)((float)hor_res * event->tfinger.x / zoom); in lv_sdl_mouse_handler()
186 indev_dev->last_x = (int16_t)((float)hor_res * event->tfinger.x / zoom); in lv_sdl_mouse_handler()
/lvgl-latest/examples/porting/
Dlv_port_indev_template.c183 static int32_t last_x = 0;
188 touchpad_get_xy(&last_x, &last_y);
196 data->point.x = last_x;
/lvgl-latest/src/widgets/label/
Dlv_label.c588 int32_t last_x = 0; in lv_label_is_char_under_pos() local
606 last_x = x; in lv_label_is_char_under_pos()
618 return (pos->x >= (last_x - letter_space) && pos->x <= (last_x + max_diff)); in lv_label_is_char_under_pos()