74 #include <nuttx/config.h> 105 nxgl_coord_t x, nxgl_coord_t y,
106 nxgl_coord_t width, nxgl_coord_t height)
107 :
CNxWidget(pWidgetControl, x, y, width, height, WIDGET_DRAGGABLE)
164 int32_t newValue = value;
169 if (newValue > maxValue)
181 newGripY += newGripY & 0x8000;
183 newGripY += rect.
getY();
237 gutterRatio += gutterRatio & 0x8000;
389 int32_t gripSize = rect.
getHeight() * gripRatio;
const T & getSource(void) const
bool isBorderless(void) const
nxgl_mxpixel_t getShadowEdgeColor(void) const
nxgl_coord_t getHeight(void) const
bool moveTo(nxgl_coord_t x, nxgl_coord_t y)
void getRect(CRect &rect) const
void setRaisesEvents(bool raises)
nxgl_coord_t getWidth(void) const
void drawBevelledRect(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, nxgl_mxpixel_t shineColor, nxgl_mxpixel_t shadowColor)
nxgl_coord_t getX(void) const
bool raisesEvents(void) const
virtual void handleDragEvent(const CWidgetEventArgs &e)
bool resize(nxgl_coord_t width, nxgl_coord_t height)
nxgl_coord_t getMinimumStep(void) const
nxgl_coord_t getHeight(void) const
void getClientRect(CRect &rect) const
virtual void drawContents(CGraphicsPort *port)
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y)
void addWidgetEventHandler(CWidgetEventHandler *eventHandler)
const int32_t getGripValue(void) const
void setValue(const int value)
nxgl_mxpixel_t getSelectedBackgroundColor(void) const
virtual void onResize(nxgl_coord_t width, nxgl_coord_t height)
void drawFilledRect(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t height, nxgl_mxpixel_t color)
int32_t getPhysicalMaximumValueWithBitshift(void) const
nxgl_mxpixel_t getShineEdgeColor(void) const
void setValueWithBitshift(const int32_t value)
CWidgetEventHandlerList * m_widgetEventHandlers
void addWidget(CNxWidget *widget)
CSliderVertical(const CSliderVertical &sliderVertical)
nxgl_coord_t m_minimumGripHeight
nxgl_coord_t getY(void) const
virtual void drawBorder(CGraphicsPort *port)
nxgl_coord_t getWidth(void) const
nxgl_coord_t getX(void) const
nxgl_coord_t getY(void) const
CSliderVerticalGrip * m_grip
void raiseValueChangeEvent(void)