74 #include <nuttx/config.h> 108 nxgl_coord_t x, nxgl_coord_t y,
109 nxgl_coord_t width, nxgl_coord_t height,
111 :
CNxWidget(pWidgetControl, x, y, width, height, flags, style)
360 nxgl_coord_t panelWidth = rect.
getWidth();
366 nxgl_coord_t panelHeight = rect.
getHeight();
373 panelWidth, panelHeight, 0, &
m_style);
386 nxgl_coord_t verticalScrollHeight = rect.
getHeight();
392 nxgl_coord_t horizontalScrollWidth = rect.
getWidth();
418 verticalScrollHeight, &
m_style);
void setMinimumValue(const int value)
bool allowsVerticalScroll(void) const
WidgetBorderSize m_borderSize
virtual bool allowsHorizontalScroll(void) const
const T & getSource(void) const
CScrollbarPanel(const CScrollbarPanel &scrollbarPanel)
virtual void setCanvasHeight(const int32_t height)
virtual const int32_t getCanvasHeight(void) const
nxgl_coord_t getHeight(void) const
virtual void setCanvasWidth(const int32_t width)
void setRaisesEvents(bool raises)
nxgl_coord_t getWidth(void) const
nxgl_coord_t getX(void) const
virtual void setAllowsHorizontalScroll(bool allow)
nxgl_mxpixel_t getBackgroundColor(void) const
void setContentScrolled(bool scrolled)
CWidgetControl * m_widgetControl
void setValue(const int value)
const int getValue(void) const
bool m_hasHorizontalScrollbar
virtual void jump(int32_t x, int32_t y)
virtual const int32_t getCanvasWidth(void) const
bool m_hasVerticalScrollbar
bool allowsHorizontalScroll(void) const
nxgl_coord_t getHeight(void) const
void setPageSize(const nxgl_coord_t pageSize)
void getClientRect(CRect &rect) const
virtual const int32_t getCanvasHeight(void) const
void addWidgetEventHandler(CWidgetEventHandler *eventHandler)
CScrollbarHorizontal * m_scrollbarHorizontal
virtual void setAllowsVerticalScroll(bool allow)
virtual const int32_t getCanvasWidth(void) const
CScrollbarVertical * m_scrollbarVertical
virtual void setCanvasHeight(const int32_t height)
void drawFilledRect(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, nxgl_mxpixel_t color)
virtual const int32_t getCanvasX(void) const
void setAllowsHorizontalScroll(bool allow)
void handleScrollEvent(const CWidgetEventArgs &e)
CScrollingPanel * m_panel
virtual const int32_t getCanvasY(void) const
virtual void scroll(int32_t dx, int32_t dy)
virtual const int32_t getCanvasX(void) const
virtual void drawContents(CGraphicsPort *port)
virtual const int32_t getCanvasY(void) const
void addWidget(CNxWidget *widget)
virtual void scroll(int32_t dx, int32_t dy)
void handleValueChangeEvent(const CWidgetEventArgs &e)
void setMinimumValue(const int value)
void setAllowsVerticalScroll(bool allow)
nxgl_coord_t getWidth(void) const
void setMaximumValue(const int value)
virtual bool allowsVerticalScroll(void) const
nxgl_coord_t getY(void) const
virtual void setCanvasWidth(const int32_t width)
uint8_t m_scrollbarHeight
virtual void jump(int32_t x, int32_t y)
void setValue(const int value)
void setPageSize(const nxgl_coord_t pageSize)
void setMaximumValue(const int value)
const int getValue(void) const