Go to the source code of this file.
|
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...
|
|
bool | gslc_ElemXGlowballDraw (void *pvGui, void *pvElemRef, gslc_teRedrawType eRedraw) |
| Draw the XGlowball element on the screen. 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_ElemXGlowballSetAngles (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, int16_t nAngStart, int16_t nAngEnd) |
|
void | gslc_ElemXGlowballSetVal (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, int16_t nVal) |
|
void | gslc_ElemXGlowballSetQuality (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, uint16_t nQuality) |
|
void | gslc_ElemXGlowballSetColorBack (gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, gslc_tsColor colBg) |
|
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 |
|
) |
| |
Create a XGlowball element.
- Parameters
-
[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 |
- Returns
- Pointer to Element reference or NULL if failure
bool gslc_ElemXGlowballDraw |
( |
void * |
pvGui, |
|
|
void * |
pvElemRef, |
|
|
gslc_teRedrawType |
eRedraw |
|
) |
| |
Draw the XGlowball element on the screen.
- Parameters
-
[in] | pvGui | Void ptr to GUI (typecast to gslc_tsGui*) |
[in] | pvElemRef | Void ptr to Element (typecast to gslc_tsElemRef*) |
[in] | eRedraw | Redraw mode |
- Returns
- true if success, false otherwise