74 #include <nuttx/config.h> 76 #include <sys/types.h> 80 #include <nuttx/nx/nxglib.h> 117 nxgl_coord_t x, nxgl_coord_t y,
118 nxgl_coord_t width, nxgl_coord_t height,
160 nxgl_coord_t x =
getX();
161 nxgl_coord_t y =
getY();
199 if (width > glyph->
width)
201 width = glyph->
width;
204 if (height > glyph->
height)
211 port->
drawBitmap(x, y, width, height, glyph, 0, 0,
212 CONFIG_NXWIDGETS_TRANSPARENT_COLOR);
WidgetBorderSize m_borderSize
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_coord_t getHeight(void) const
const struct SBitmap g_radioButtonOff
CRadioButton(const CRadioButton &radioButton)
const struct SBitmap g_radioButtonMu
CWidgetEventHandlerList * m_widgetEventHandlers
const struct SBitmap g_radioButtonOn
nxgl_coord_t getY(void) const
nxgl_coord_t getWidth(void) const
nxgl_coord_t getX(void) const
virtual void setState(RadioButtonState state)
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y)
void raiseValueChangeEvent(void)