74 #include <nuttx/config.h> 76 #include <sys/types.h> 80 #include <nuttx/nx/nxglib.h> 111 nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width,
113 :
CLabel(pWidgetControl, x, y, width, height, text, style)
199 struct nxgl_point_s pos;
205 nxgl_mxpixel_t textColor;
250 nxgl_mxpixel_t backColor;
bool isClicked(void) const
bool isBorderless(void) const
nxgl_mxpixel_t getShadowEdgeColor(void) const
CButton(const CButton &button)
void getRect(CRect &rect) const
virtual void onReleaseOutside(nxgl_coord_t x, nxgl_coord_t y)
void drawBevelledRect(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, nxgl_mxpixel_t shineColor, nxgl_mxpixel_t shadowColor)
nxgl_coord_t getX(void) const
void raiseActionEvent(void)
virtual void drawBorder(CGraphicsPort *port)
nxgl_mxpixel_t getBackgroundColor(void) const
virtual void drawOutline(CGraphicsPort *port)
struct nxgl_point_s m_align
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y)
bool isEnabled(void) const
nxgl_mxpixel_t getEnabledTextColor(void) const
nxgl_coord_t getHeight(void) const
virtual void onPreRelease(nxgl_coord_t x, nxgl_coord_t y)
nxgl_mxpixel_t getSelectedBackgroundColor(void) const
virtual void drawContents(CGraphicsPort *port)
void drawFilledRect(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, nxgl_mxpixel_t color)
CNxFont * getFont(void) const
nxgl_mxpixel_t getShineEdgeColor(void) const
CWidgetEventHandlerList * m_widgetEventHandlers
const unsigned int getLength(void) const
nxgl_coord_t getY(void) const
nxgl_coord_t getWidth(void) const
nxgl_coord_t getX(void) const
nxgl_coord_t getY(void) const
nxgl_mxpixel_t getDisabledTextColor(void) const
virtual void onRelease(nxgl_coord_t x, nxgl_coord_t y)
void drawText(struct nxgl_point_s *pos, CRect *bound, CNxFont *font, const CNxString &string)
nxgl_mxpixel_t getSelectedTextColor(void) const