1 #ifndef _GUISLICE_EX_XSELNUM_H_ 2 #define _GUISLICE_EX_XSELNUM_H_ 45 #if (GSLC_FEATURE_COMPOUND) 55 #define GSLC_TYPEX_SELNUM GSLC_TYPE_BASE_EXTEND + 3 57 #define SELNUM_STR_LEN 6 73 #if (GSLC_LOCAL_STR == 0) 163 #endif // GLSC_COMPOUND 175 #endif // __cplusplus 176 #endif // _GUISLICE_EX_XSELNUM_H_ gslc_tsCollect sCollect
Collection management for sub-elements.
Definition: XSelNum.h:69
int16_t nCounter
Counter for demo purposes.
Definition: XSelNum.h:66
bool gslc_ElemXSelNumDraw(void *pvGui, void *pvElemRef, gslc_teRedrawType eRedraw)
Draw a SelNum element on the screen.
Definition: XSelNum.c:226
Extended data for SelNum element.
Definition: XSelNum.h:63
bool gslc_ElemXSelNumTouch(void *pvGui, void *pvElemRef, gslc_teTouch eTouch, int16_t nRelX, int16_t nRelY)
Handle touch (up,down,move) events to SelNum element.
Definition: XSelNum.c:368
gslc_teRedrawType
Redraw types.
Definition: GUIslice.h:370
bool gslc_ElemXSelNumClick(void *pvGui, void *pvElemRef, gslc_teTouch eTouch, int16_t nX, int16_t nY)
Handle a click event within the SelNum.
Definition: XSelNum.c:310
Rectangular region. Defines X,Y corner coordinates plus dimensions.
Definition: GUIslice.h:519
Element collection struct.
Definition: GUIslice.h:656
Element reference structure.
Definition: GUIslice.h:578
int gslc_ElemXSelNumGetCounter(gslc_tsGui *pGui, gslc_tsXSelNum *pSelNum)
Get the current counter associated with SelNum.
Definition: XSelNum.c:268
gslc_teTouch
Processed event from input raw events and actions.
Definition: GUIslice.h:305
void gslc_ElemXSelNumSetCounter(gslc_tsGui *pGui, gslc_tsXSelNum *pSelNum, int16_t nCount)
Set the current counter associated with SelNum.
Definition: XSelNum.c:279
GUI structure.
Definition: GUIslice.h:716
gslc_tsElemRef * gslc_ElemXSelNumCreate(gslc_tsGui *pGui, int16_t nElemId, int16_t nPage, gslc_tsXSelNum *pXData, gslc_tsRect rElem, int8_t nFontId)
Create a SelNum Element.
Definition: XSelNum.c:84
Element Struct.
Definition: GUIslice.h:593
#define SELNUM_STR_LEN
Definition: XSelNum.h:57