70 #ifndef __INCLUDE_CPROGRESSBAR_HXX 71 #define __INCLUDE_CPROGRESSBAR_HXX 77 #include <nuttx/config.h> 82 #include <nuttx/nx/nxglib.h> 94 #if defined(__cplusplus) 102 class CWidgetControl;
156 nxgl_coord_t x, nxgl_coord_t y,
157 nxgl_coord_t width, nxgl_coord_t height);
205 m_minimumValue = value;
216 m_maximumValue = value;
233 m_showPercentageText =
true;
243 m_showPercentageText =
false;
249 #endif // __cplusplus 251 #endif // __INCLUDE_CPROGRESSBAR_HXX CProgressBar(const CProgressBar &progressBar)
const int16_t getMaximumValue(void) const
void showPercentageText(void)
virtual ~CProgressBar(void)
void hidePercentageText(void)
void setValue(const int16_t value)
virtual void drawContents(CGraphicsPort *port)
void setMinimumValue(const int16_t value)
void setMaximumValue(const int16_t value)
const int16_t getValue(void) const
const int16_t getMinimumValue(void) const
virtual void drawBorder(CGraphicsPort *port)
bool m_showPercentageText