MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > b) Data Types and Constants > laTouchTestWidget Structure
MPLAB® Harmony Graphics Suite
laTouchTestWidget Structure

Structure: laTouchTestWidget_t 

The touch test widget is a specialized widget that displays intersecting lines based on input events. This can help visualize touch interaction and aid determining accurate input coordinates.

C
typedef struct laTouchTestWidget_t {
  laWidget widget;
  laTouchTestState state;
  GFX_Point pnts[LA_TOUCHTEST_MEMORY_SIZE];
  uint32_t size;
  uint32_t start;
  uint32_t next;
  laTouchTestWidget_PointAddedEventCallback cb;
} laTouchTestWidget;
Members
Members 
Description 
laWidget widget; 
widget base class 
laTouchTestState state; 
touch test state 
GFX_Point pnts[LA_TOUCHTEST_MEMORY_SIZE]; 
touch point array 
uint32_t size; 
current number of valid touch points 
uint32_t start; 
first valid touch point 
uint32_t next; 
next available touch point entry 
laTouchTestWidget_PointAddedEventCallback cb; 
point added callback 
Remarks

None.

MPLAB® Harmony Graphics Suite