EasyGUI  v0.1
Platform independent GUI Library
__GUI_TouchData_t Struct Reference

Internal touch structure used for widget callbacks. More...

#include <gui_defs.h>

Data Fields

GUI_TouchData_t TS
 
GUI_iDim_t RelX [GUI_TOUCH_MAX_PRESSES]
 
GUI_iDim_t RelY [GUI_TOUCH_MAX_PRESSES]
 
GUI_iDim_t RelOldX [GUI_TOUCH_MAX_PRESSES]
 
GUI_iDim_t RelOldY [GUI_TOUCH_MAX_PRESSES]
 
GUI_Dim_t WidgetWidth
 
GUI_Dim_t WidgetHeight
 
float Distance
 
float DistanceOld
 
struct pt pt
 

Detailed Description

Internal touch structure used for widget callbacks.

Field Documentation

float Distance

Distance between 2 points when 2 touch elements are detected

float DistanceOld

Old distance between 2 points

struct pt pt

Protothreads structure

Relative X position to current widget

Relative Y position to current widget

Relative X position to current widget

Relative Y position to current widget

Touch structure from outside

GUI_Dim_t WidgetHeight

Save widget height value

GUI_Dim_t WidgetWidth

Save widget width value