70 #ifndef __INCLUDE_CGLYPHBUTTON_HXX 71 #define __INCLUDE_CGLYPHBUTTON_HXX 77 #include <nuttx/config.h> 82 #include <nuttx/nx/nxglib.h> 95 #if defined(__cplusplus) 103 class CWidgetControl;
156 virtual void onClick(nxgl_coord_t x, nxgl_coord_t y);
165 virtual void onPreRelease(nxgl_coord_t x, nxgl_coord_t y);
174 virtual void onRelease(nxgl_coord_t x, nxgl_coord_t y);
212 nxgl_coord_t x, nxgl_coord_t y,
213 nxgl_coord_t width, nxgl_coord_t height,
214 nxgl_coord_t bitmapX, nxgl_coord_t bitmapY,
215 FAR
const struct SBitmap *normalGlyph,
216 FAR
const struct SBitmap *clickedGlyph,
236 #endif // __cplusplus 238 #endif // __INCLUDE_CGLYPHBUTTON_HXX
CGlyphButton(const CGlyphButton &button)
virtual void onRelease(nxgl_coord_t x, nxgl_coord_t y)
FAR const struct SBitmap * m_bitmapNormal
virtual void drawBorder(CGraphicsPort *port)
virtual void onPreRelease(nxgl_coord_t x, nxgl_coord_t y)
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y)
virtual void getPreferredDimensions(CRect &rect) const
virtual void drawOutline(CGraphicsPort *port)
virtual void drawContents(CGraphicsPort *port)
virtual ~CGlyphButton(void)
FAR const struct SBitmap * m_bitmapClicked
virtual void onReleaseOutside(nxgl_coord_t x, nxgl_coord_t y)