36 #ifndef __INCLUDE_CNXTOOLBAR_HXX 37 #define __INCLUDE_CNXTOOLBAR_HXX 43 #include <nuttx/config.h> 48 #include <nuttx/nx/nxglib.h> 49 #include <nuttx/nx/nx.h> 50 #include <nuttx/nx/nxtk.h> 64 #if defined(__cplusplus) 157 bool getSize(FAR
struct nxgl_size_s *pSize);
167 bool setPosition(FAR
const struct nxgl_point_s *pPos);
177 bool setSize(FAR
const struct nxgl_size_s *pSize);
213 #ifdef CONFIG_NXTERM_NXKBDIN 229 bool setPixel(FAR
const struct nxgl_point_s *pPos,
230 nxgl_mxpixel_t color);
241 bool fill(FAR
const struct nxgl_rect_s *pRect,
242 nxgl_mxpixel_t color);
269 FAR
const struct nxgl_trapezoid_s *pTrap,
270 nxgl_mxpixel_t color);
284 bool drawLine(FAR
struct nxgl_vector_s *vector,
285 nxgl_coord_t width, nxgl_mxpixel_t color,
297 nxgl_mxpixel_t color);
308 bool move(FAR
const struct nxgl_rect_s *pRect,
309 FAR
const struct nxgl_point_s *pOffset);
326 bool bitmap(FAR
const struct nxgl_rect_s *pDest,
327 FAR
const void *pSrc,
328 FAR
const struct nxgl_point_s *pOrigin,
329 unsigned int stride);
333 #endif // __cplusplus 335 #endif // __INCLUDE_CNXTOOLBAR_HXX
bool setPixel(FAR const struct nxgl_point_s *pPos, nxgl_mxpixel_t color)
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 setNxTerm(NXTERM handle)
bool setPosition(FAR const struct nxgl_point_s *pPos)
bool getSize(FAR struct nxgl_size_s *pSize)
bool fillTrapezoid(FAR const struct nxgl_rect_s *pClip, FAR const struct nxgl_trapezoid_s *pTrap, nxgl_mxpixel_t color)
bool requestPosition(void)
CNxToolbar(CNxTkWindow *pNxTkWindow, NXTKWINDOW hNxTkWindow, CWidgetControl *pWidgetControl, nxgl_coord_t height)
void getRectangle(FAR const struct nxgl_rect_s *rect, struct SBitmap *dest)
CWidgetControl * m_widgetControl
bool drawFilledCircle(struct nxgl_point_s *center, nxgl_coord_t radius, nxgl_mxpixel_t color)
bool move(FAR const struct nxgl_rect_s *pRect, FAR const struct nxgl_point_s *pOffset)
bool bitmap(FAR const struct nxgl_rect_s *pDest, FAR const void *pSrc, FAR const struct nxgl_point_s *pOrigin, unsigned int stride)
bool getPosition(FAR struct nxgl_point_s *pPos)
bool drawLine(FAR struct nxgl_vector_s *vector, nxgl_coord_t width, nxgl_mxpixel_t color, enum ELineCaps caps)
CNxTkWindow * m_nxTkWindow
void redirectNxTerm(NXTERM handle)