|
EasyGUI
|
Internal touch structure used for widget callbacks. More...
#include <gui_defs.h>
Internal touch structure used for widget callbacks.
| float distance |
Distance between 2 points when 2 touch elements are detected
| float distance_old |
Old distance between 2 points
Touch data structure, used to read from buffer
| gui_dim_t widget_height |
Widget height
| gui_dim_t widget_width |
Widget width
| gui_dim_t widget_x |
Widget absolute X position
| gui_dim_t widget_y |
Widget absolute Y position
| gui_dim_t x_diff[GUI_CFG_TOUCH_MAX_PRESSES] |
X difference between old and new touch position
Old absolute X position
Relative X position to current widget
| gui_dim_t y_diff[GUI_CFG_TOUCH_MAX_PRESSES] |
Y difference between old and new touch position
Old absolute Y position
Relative Y position to current widget