36 #ifndef __INCLUDE_CNXTKWINDOW_HXX 37 #define __INCLUDE_CNXTKWINDOW_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) 194 bool getSize(FAR
struct nxgl_size_s *size);
203 bool setPosition(FAR
const struct nxgl_point_s *pos);
212 bool setSize(FAR
const struct nxgl_size_s *size);
244 #ifdef CONFIG_NXTERM_NXKBDIN 260 bool setPixel(FAR
const struct nxgl_point_s *pos,
261 nxgl_mxpixel_t color);
272 bool fill(FAR
const struct nxgl_rect_s *pRect,
273 nxgl_mxpixel_t color);
300 FAR
const struct nxgl_trapezoid_s *pTrap,
301 nxgl_mxpixel_t color);
315 bool drawLine(FAR
struct nxgl_vector_s *vector,
316 nxgl_coord_t width, nxgl_mxpixel_t color,
328 nxgl_mxpixel_t color);
339 bool move(FAR
const struct nxgl_rect_s *pRect,
340 FAR
const struct nxgl_point_s *pOffset);
357 bool bitmap(FAR
const struct nxgl_rect_s *pDest,
358 FAR
const void *pSrc,
359 FAR
const struct nxgl_point_s *pOrigin,
360 unsigned int stride);
364 #endif // __cplusplus 366 #endif // __INCLUDE_CNXTKWINDOW_HXX void getRectangle(FAR const struct nxgl_rect_s *rect, struct SBitmap *dest)
bool setPixel(FAR const struct nxgl_point_s *pos, nxgl_mxpixel_t color)
CNxTkWindow(NXHANDLE hNxServer, CWidgetControl *widgetControl)
nxgl_coord_t m_toolbarHeight
CNxToolbar * openToolbar(nxgl_coord_t height, CWidgetControl *widgetControl=(CWidgetControl *) 0)
void redirectNxTerm(NXTERM handle)
bool fill(FAR const struct nxgl_rect_s *pRect, nxgl_mxpixel_t color)
bool getPosition(FAR struct nxgl_point_s *pos)
bool move(FAR const struct nxgl_rect_s *pRect, FAR const struct nxgl_point_s *pOffset)
bool setPosition(FAR const struct nxgl_point_s *pos)
void setNxTerm(NXTERM handle)
bool drawLine(FAR struct nxgl_vector_s *vector, nxgl_coord_t width, nxgl_mxpixel_t color, enum ELineCaps caps)
bool fillTrapezoid(FAR const struct nxgl_rect_s *pClip, FAR const struct nxgl_trapezoid_s *pTrap, nxgl_mxpixel_t color)
bool drawFilledCircle(struct nxgl_point_s *center, nxgl_coord_t radius, nxgl_mxpixel_t color)
CWidgetControl * m_widgetControl
bool requestPosition(void)
bool bitmap(FAR const struct nxgl_rect_s *pDest, FAR const void *pSrc, FAR const struct nxgl_point_s *pOrigin, unsigned int stride)
CWidgetControl * getWidgetControl(void) const
bool getSize(FAR struct nxgl_size_s *size)
bool setSize(FAR const struct nxgl_size_s *size)