36 #ifndef __INCLUDE_CBGWINDOW_HXX 37 #define __INCLUDE_CBGWINDOW_HXX 43 #include <nuttx/config.h> 48 #include <nuttx/nx/nxglib.h> 49 #include <nuttx/nx/nx.h> 63 #if defined(__cplusplus) 169 bool getSize(FAR
struct nxgl_size_s *pSize);
178 bool setPosition(FAR
const struct nxgl_point_s *pPos);
189 bool setSize(FAR
const struct nxgl_size_s *pSize);
223 #ifdef CONFIG_NXTERM_NXKBDIN 239 bool setPixel(FAR
const struct nxgl_point_s *pPos,
240 nxgl_mxpixel_t color);
251 bool fill(FAR
const struct nxgl_rect_s *pRect,
252 nxgl_mxpixel_t color);
279 FAR
const struct nxgl_trapezoid_s *pTrap,
280 nxgl_mxpixel_t color);
294 bool drawLine(FAR
struct nxgl_vector_s *vector,
295 nxgl_coord_t width, nxgl_mxpixel_t color,
307 nxgl_mxpixel_t color);
318 bool move(FAR
const struct nxgl_rect_s *pRect,
319 FAR
const struct nxgl_point_s *pOffset);
336 bool bitmap(FAR
const struct nxgl_rect_s *pDest,
337 FAR
const void *pSrc,
338 FAR
const struct nxgl_point_s *pOrigin,
339 unsigned int stride);
343 #endif // __cplusplus 345 #endif // __INCLUDE_CBGWINDOW_HXX
bool drawLine(FAR struct nxgl_vector_s *vector, nxgl_coord_t width, nxgl_mxpixel_t color, enum ELineCaps caps)
bool requestPosition(void)
void getRectangle(FAR const struct nxgl_rect_s *rect, struct SBitmap *dest)
bool setPixel(FAR const struct nxgl_point_s *pPos, nxgl_mxpixel_t color)
CWidgetControl * m_widgetControl
bool getSize(FAR struct nxgl_size_s *pSize)
bool drawFilledCircle(struct nxgl_point_s *center, nxgl_coord_t radius, nxgl_mxpixel_t color)
bool bitmap(FAR const struct nxgl_rect_s *pDest, FAR const void *pSrc, FAR const struct nxgl_point_s *pOrigin, unsigned int stride)
void setNxTerm(NXTERM handle)
bool fillTrapezoid(FAR const struct nxgl_rect_s *pClip, FAR const struct nxgl_trapezoid_s *pTrap, nxgl_mxpixel_t color)
bool setPosition(FAR const struct nxgl_point_s *pPos)
CBgWindow(NXHANDLE hNxServer, CWidgetControl *widgetControl)
bool setSize(FAR const struct nxgl_size_s *pSize)
CWidgetControl * getWidgetControl(void) const
bool fill(FAR const struct nxgl_rect_s *pRect, nxgl_mxpixel_t color)
void redirectNxTerm(NXTERM handle)
bool move(FAR const struct nxgl_rect_s *pRect, FAR const struct nxgl_point_s *pOffset)
bool getPosition(FAR struct nxgl_point_s *pPos)