36 #ifndef __INCLUDE_CNXWINDOW_HXX 37 #define __INCLUDE_CNXWINDOW_HXX 43 #include <nuttx/config.h> 48 #include <nuttx/nx/nxglib.h> 49 #include <nuttx/nx/nx.h> 50 #include <nuttx/nx/nxtk.h> 63 #if defined(__cplusplus) 167 bool getSize(FAR
struct nxgl_size_s *pSize);
176 bool setPosition(FAR
const struct nxgl_point_s *pPos);
185 bool setSize(FAR
const struct nxgl_size_s *pSize);
217 #ifdef CONFIG_NXTERM_NXKBDIN 233 bool setPixel(FAR
const struct nxgl_point_s *pPos,
234 nxgl_mxpixel_t color);
245 bool fill(FAR
const struct nxgl_rect_s *pRect,
246 nxgl_mxpixel_t color);
273 FAR
const struct nxgl_trapezoid_s *pTrap,
274 nxgl_mxpixel_t color);
288 bool drawLine(FAR
struct nxgl_vector_s *vector,
289 nxgl_coord_t width, nxgl_mxpixel_t color,
301 nxgl_mxpixel_t color);
312 bool move(FAR
const struct nxgl_rect_s *pRect,
313 FAR
const struct nxgl_point_s *pOffset);
330 bool bitmap(FAR
const struct nxgl_rect_s *pDest,
331 FAR
const void *pSrc,
332 FAR
const struct nxgl_point_s *pOrigin,
333 unsigned int stride);
337 #endif // __cplusplus 339 #endif // __INCLUDE_CNXWINDOW_HXX bool getSize(FAR struct nxgl_size_s *pSize)
bool drawLine(FAR struct nxgl_vector_s *vector, nxgl_coord_t width, nxgl_mxpixel_t color, enum ELineCaps caps)
bool fill(FAR const struct nxgl_rect_s *pRect, nxgl_mxpixel_t color)
void redirectNxTerm(NXTERM handle)
bool setPosition(FAR const struct nxgl_point_s *pPos)
bool move(FAR const struct nxgl_rect_s *pRect, FAR const struct nxgl_point_s *pOffset)
bool requestPosition(void)
CNxWindow(NXHANDLE hNxServer, CWidgetControl *pWidgetControl)
bool setSize(FAR const struct nxgl_size_s *pSize)
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 setPixel(FAR const struct nxgl_point_s *pPos, nxgl_mxpixel_t color)
CWidgetControl * m_widgetControl
void getRectangle(FAR const struct nxgl_rect_s *rect, struct SBitmap *dest)
bool drawFilledCircle(struct nxgl_point_s *center, nxgl_coord_t radius, nxgl_mxpixel_t color)
CWidgetControl * getWidgetControl(void) const
bool getPosition(FAR struct nxgl_point_s *pPos)
bool bitmap(FAR const struct nxgl_rect_s *pDest, FAR const void *pSrc, FAR const struct nxgl_point_s *pOrigin, unsigned int stride)