GUIslice
0.16.0
Embedded GUI in C
|
Functions | |
gslc_tsElemRef * | gslc_ElemXGlowballCreate (gslc_tsGui *pGui, int16_t nElemId, int16_t nPage, gslc_tsXGlowball *pXData, int16_t nMidX, int16_t nMidY, gslc_tsXGlowballRing *pRings, uint8_t nNumRings) |
Create a XGlowball element. More... | |
void | drawXGlowballArc (gslc_tsGui *pGui, gslc_tsXGlowball *pGlowball, int16_t nMidX, int16_t nMidY, int16_t nRad1, int16_t nRad2, gslc_tsColor cArc, uint16_t nAngStart, uint16_t nAngEnd) |
void | drawXGlowballRing (gslc_tsGui *pGui, gslc_tsXGlowball *pGlowball, int16_t nMidX, int16_t nMidY, int16_t nVal, uint16_t nAngStart, uint16_t nAngEnd, bool bErase) |
void | drawXGlowball (gslc_tsGui *pGui, gslc_tsXGlowball *pGlowball, int16_t nMidX, int16_t nMidY, int16_t nVal, uint16_t nAngStart, uint16_t nAngEnd) |
void | gslc_ElemXGlowballSetVal (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, int16_t nVal) |
void | gslc_ElemXGlowballSetAngles (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, int16_t nAngStart, int16_t nAngEnd) |
void | gslc_ElemXGlowballSetQuality (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, uint16_t nQuality) |
void | gslc_ElemXGlowballSetColorBack (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, gslc_tsColor colBg) |
bool | gslc_ElemXGlowballDraw (void *pvGui, void *pvElemRef, gslc_teRedrawType eRedraw) |
Draw the XGlowball element on the screen. More... | |
Variables | |
const char GSLC_PMEM | ERRSTR_NULL [] |
const char GSLC_PMEM | ERRSTR_PXD_NULL [] |
void drawXGlowball | ( | gslc_tsGui * | pGui, |
gslc_tsXGlowball * | pGlowball, | ||
int16_t | nMidX, | ||
int16_t | nMidY, | ||
int16_t | nVal, | ||
uint16_t | nAngStart, | ||
uint16_t | nAngEnd | ||
) |
void drawXGlowballArc | ( | gslc_tsGui * | pGui, |
gslc_tsXGlowball * | pGlowball, | ||
int16_t | nMidX, | ||
int16_t | nMidY, | ||
int16_t | nRad1, | ||
int16_t | nRad2, | ||
gslc_tsColor | cArc, | ||
uint16_t | nAngStart, | ||
uint16_t | nAngEnd | ||
) |
void drawXGlowballRing | ( | gslc_tsGui * | pGui, |
gslc_tsXGlowball * | pGlowball, | ||
int16_t | nMidX, | ||
int16_t | nMidY, | ||
int16_t | nVal, | ||
uint16_t | nAngStart, | ||
uint16_t | nAngEnd, | ||
bool | bErase | ||
) |
gslc_tsElemRef* gslc_ElemXGlowballCreate | ( | gslc_tsGui * | pGui, |
int16_t | nElemId, | ||
int16_t | nPage, | ||
gslc_tsXGlowball * | pXData, | ||
int16_t | nMidX, | ||
int16_t | nMidY, | ||
gslc_tsXGlowballRing * | pRings, | ||
uint8_t | nNumRings | ||
) |
Create a XGlowball element.
[in] | pGui | Pointer to GUI |
[in] | nElemId | Element ID to assign (0..16383 or GSLC_ID_AUTO to autogen) |
[in] | nPage | Page ID to attach element to |
[in] | pXData | Ptr to extended element data structure |
[in] | nMidX | Center X coordinate |
[in] | nMidY | Center Y coordinate |
[in] | pRings | Pointer to tsXGlowballRing structure array defining appearance |
[in] | nNumRings | Number of rings in pRings array |
bool gslc_ElemXGlowballDraw | ( | void * | pvGui, |
void * | pvElemRef, | ||
gslc_teRedrawType | eRedraw | ||
) |
Draw the XGlowball element on the screen.
[in] | pvGui | Void ptr to GUI (typecast to gslc_tsGui*) |
[in] | pvElemRef | Void ptr to Element (typecast to gslc_tsElemRef*) |
[in] | eRedraw | Redraw mode |
void gslc_ElemXGlowballSetAngles | ( | gslc_tsGui * | pGui, |
gslc_tsElemRef * | pElemRef, | ||
int16_t | nAngStart, | ||
int16_t | nAngEnd | ||
) |
void gslc_ElemXGlowballSetColorBack | ( | gslc_tsGui * | pGui, |
gslc_tsElemRef * | pElemRef, | ||
gslc_tsColor | colBg | ||
) |
void gslc_ElemXGlowballSetQuality | ( | gslc_tsGui * | pGui, |
gslc_tsElemRef * | pElemRef, | ||
uint16_t | nQuality | ||
) |
void gslc_ElemXGlowballSetVal | ( | gslc_tsGui * | pGui, |
gslc_tsElemRef * | pElemRef, | ||
int16_t | nVal | ||
) |
const char GSLC_PMEM ERRSTR_NULL[] |
const char GSLC_PMEM ERRSTR_PXD_NULL[] |