1 #ifndef _GUISLICE_EX_XGLOWBALL_H_ 2 #define _GUISLICE_EX_XGLOWBALL_H_ 50 #define GSLC_TYPEX_GLOW GSLC_TYPE_BASE_EXTEND + 24 134 #endif // __cplusplus 135 #endif // _GUISLICE_EX_XGLOWBALL_H_ void drawXGlowball(gslc_tsGui *pGui, gslc_tsXGlowball *pGlowball, int16_t nMidX, int16_t nMidY, int16_t nVal, uint16_t nAngStart, uint16_t nAngEnd)
Definition: XGlowball.c:197
int16_t nMidX
Gauge midpoint X coord.
Definition: XGlowball.h:66
bool gslc_ElemXGlowballDraw(void *pvGui, void *pvElemRef, gslc_teRedrawType eRedraw)
Draw the XGlowball element on the screen.
Definition: XGlowball.c:291
uint8_t nRad2
Definition: XGlowball.h:55
int16_t nVal
Current value.
Definition: XGlowball.h:76
int16_t nAngStart
Starting angle (0..510 degrees)
Definition: XGlowball.h:72
gslc_teRedrawType
Redraw types.
Definition: GUIslice.h:370
int16_t nAngEnd
Ending angle (0..510 degrees)
Definition: XGlowball.h:73
gslc_tsColor cCol
Definition: XGlowball.h:56
gslc_tsColor colBg
Background color (for redraw)
Definition: XGlowball.h:74
int16_t nValLast
Previous value.
Definition: XGlowball.h:77
Extended data for Slider element.
Definition: XGlowball.h:64
uint16_t nQuality
Rendering quality (number of segments / rotation)
Definition: XGlowball.h:71
uint8_t nNumRings
Number of rings in definition.
Definition: XGlowball.h:69
int16_t nMidY
Gauge midpoint Y coord.
Definition: XGlowball.h:67
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)
Definition: XGlowball.c:176
gslc_tsXGlowballRing * pRings
Ring definition array.
Definition: XGlowball.h:68
Element reference structure.
Definition: GUIslice.h:578
void gslc_ElemXGlowballSetColorBack(gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, gslc_tsColor colBg)
Definition: XGlowball.c:269
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)
Definition: XGlowball.c:147
void gslc_ElemXGlowballSetVal(gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, int16_t nVal)
Definition: XGlowball.c:214
void gslc_ElemXGlowballSetQuality(gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, uint16_t nQuality)
Definition: XGlowball.c:251
Definition: XGlowball.h:53
uint8_t nRad1
Definition: XGlowball.h:54
GUI structure.
Definition: GUIslice.h:716
Color structure. Defines RGB triplet.
Definition: GUIslice.h:534
void gslc_ElemXGlowballSetAngles(gslc_tsGui *pGui, gslc_tsElemRef *pElemRef, int16_t nAngStart, int16_t nAngEnd)
Definition: XGlowball.c:232
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.
Definition: XGlowball.c:76