GUIslice  0.16.0
Embedded GUI in C
Internal: Tracking Functions
Collaboration diagram for Internal: Tracking Functions:

Functions

void gslc_TrackTouch (gslc_tsGui *pGui, gslc_tsPage *pPage, int16_t nX, int16_t nY, uint16_t nPress)
 Handles a touch event and performs the necessary tracking, glowing and selection actions depending on the press state. More...
 
void gslc_TrackInput (gslc_tsGui *pGui, gslc_tsPage *pPage, gslc_teInputRawEvent eInputEvent, int16_t nInputVal)
 Handles a direct input event and performs the necessary tracking, glowing and selection actions depending on the state. More...
 
bool gslc_InputMapLookup (gslc_tsGui *pGui, gslc_teInputRawEvent eInputEvent, int16_t nInputVal, gslc_teAction *peAction, int16_t *pnActionVal)
 

Detailed Description

Function Documentation

bool gslc_InputMapLookup ( gslc_tsGui pGui,
gslc_teInputRawEvent  eInputEvent,
int16_t  nInputVal,
gslc_teAction peAction,
int16_t *  pnActionVal 
)
Todo:
Doc. This API is experimental and subject to change
void gslc_TrackInput ( gslc_tsGui pGui,
gslc_tsPage pPage,
gslc_teInputRawEvent  eInputEvent,
int16_t  nInputVal 
)

Handles a direct input event and performs the necessary tracking, glowing and selection actions depending on the state.

Parameters
[in]pGuiPointer to GUI
[in]pPagePointer to current page
[in]eInputEventIndication of event type
[in]nInputValAdditional data for event type
Returns
none
void gslc_TrackTouch ( gslc_tsGui pGui,
gslc_tsPage pPage,
int16_t  nX,
int16_t  nY,
uint16_t  nPress 
)

Handles a touch event and performs the necessary tracking, glowing and selection actions depending on the press state.

Parameters
[in]pGuiPointer to GUI
[in]pPagePointer to current page
[in]nXX coordinate of touch event
[in]nYY coordinate of touch event
[in]nPressPressure level of touch event (0 for none, else touch)
Returns
none