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,
119 nxgl_coord_t bitmapX, nxgl_coord_t bitmapY,
120 FAR
const struct SBitmap *normalGlyph,
121 FAR
const struct SBitmap *clickedGlyph,
123 :
CNxWidget(pWidgetControl, x, y, width, height, 0, style)
199 CONFIG_NXWIDGETS_TRANSPARENT_COLOR);
CGlyphButton(const CGlyphButton &button)
WidgetBorderSize m_borderSize
bool isClicked(void) const
virtual void onRelease(nxgl_coord_t x, nxgl_coord_t y)
bool isBorderless(void) const
nxgl_mxpixel_t getShadowEdgeColor(void) const
void getRect(CRect &rect) 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)
nxgl_coord_t getX(void) const
FAR const struct SBitmap * m_bitmapNormal
void raiseActionEvent(void)
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)
nxgl_mxpixel_t getBackgroundColor(void) const
virtual void drawBorder(CGraphicsPort *port)
void drawBitmapGreyScale(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, const struct SBitmap *bitmap, int bitmapX, int bitmapY)
bool isEnabled(void) const
virtual void onPreRelease(nxgl_coord_t x, nxgl_coord_t y)
nxgl_coord_t getHeight(void) const
void setHeight(nxgl_coord_t height)
void setX(nxgl_coord_t x)
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y)
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
virtual void getPreferredDimensions(CRect &rect) const
virtual void drawOutline(CGraphicsPort *port)
virtual void drawContents(CGraphicsPort *port)
nxgl_coord_t getY(void) const
void setWidth(nxgl_coord_t width)
nxgl_coord_t getWidth(void) const
nxgl_coord_t getX(void) const
nxgl_coord_t getY(void) const
static const NXWidgets::SRlePaletteBitmapEntry bitmap[]
void setY(nxgl_coord_t y)
FAR const struct SBitmap * m_bitmapClicked
virtual void onReleaseOutside(nxgl_coord_t x, nxgl_coord_t y)
void raiseReleaseEvent(nxgl_coord_t x, nxgl_coord_t y)