74 #include <nuttx/config.h> 112 nxgl_coord_t x, nxgl_coord_t y,
113 nxgl_coord_t width, nxgl_coord_t height,
156 nxgl_coord_t x =
getX();
157 nxgl_coord_t y =
getY();
195 if (width > glyph->
width)
197 width = glyph->
width;
200 if (height > glyph->
height)
207 port->
drawBitmap(x, y, width, height, glyph, 0, 0,
208 CONFIG_NXWIDGETS_TRANSPARENT_COLOR);
223 nxgl_mxpixel_t backColor;
WidgetBorderSize m_borderSize
bool isBorderless(void) const
nxgl_mxpixel_t getShadowEdgeColor(void) const
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)
void drawBitmap(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, const struct SBitmap *bitmap, int bitmapX, int bitmapY)
virtual void drawContents(CGraphicsPort *port)
nxgl_mxpixel_t getBackgroundColor(void) const
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y)
CCheckBox(const CCheckBox &checkBox)
virtual void setState(CheckBoxState state)
nxgl_coord_t getHeight(void) const
const struct SBitmap g_checkBoxOff
nxgl_mxpixel_t getSelectedBackgroundColor(void) const
const struct SBitmap g_checkBoxMu
void drawFilledRect(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, nxgl_mxpixel_t color)
nxgl_mxpixel_t getShineEdgeColor(void) const
CWidgetEventHandlerList * m_widgetEventHandlers
nxgl_coord_t getY(void) const
nxgl_coord_t getWidth(void) const
nxgl_coord_t getX(void) const
virtual void drawBorder(CGraphicsPort *port)
const struct SBitmap g_checkBoxOn
void raiseValueChangeEvent(void)