70 #ifndef __INCLUDE_CGLYPHSLIDERHORIZONTAL_HXX 71 #define __INCLUDE_CGLYPHSLIDERHORIZONTAL_HXX 88 #if defined(__cplusplus) 161 virtual void onResize(nxgl_coord_t width, nxgl_coord_t height);
170 virtual void onClick(nxgl_coord_t x, nxgl_coord_t y);
188 nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width,
189 nxgl_coord_t thickness,
IBitmap *gripBitmap,
231 return (
int)(m_value >> 16);
255 m_minimumValue = value;
256 m_contentSize = m_maximumValue - m_minimumValue + 1;
268 m_maximumValue = value;
269 m_contentSize = m_maximumValue - m_minimumValue + 1;
302 m_pageSize = pageSize;
314 m_barThickness = thickness;
338 #endif // __cplusplus 340 #endif // __INCLUDE_CGLYPHSLIDERHORIZONTAL_HXX CGlyphSliderHorizontalGrip * m_grip
const int32_t getGripValue(void) const
const int getValue(void) const
CGlyphSliderHorizontal(CWidgetControl *control, nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t width, nxgl_coord_t thickness, IBitmap *gripBitmap, nxwidget_pixel_t fillColor, bool fill=true)
void setValue(const int value)
void setMaximumValue(const int value)
virtual ~CGlyphSliderHorizontal(void)
virtual void drawBorder(CGraphicsPort *port)
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y)
virtual void handleDragEvent(const CWidgetEventArgs &e)
const int getMaximumValue(void) const
void setBarThickness(const nxgl_coord_t thickness)
int32_t getPhysicalMaximumValueWithBitshift(void) const
const nxgl_coord_t getPageSize(void) const
nxgl_coord_t m_minimumGripWidth
void setMinimumValue(const int value)
virtual void onResize(nxgl_coord_t width, nxgl_coord_t height)
void setValueWithBitshift(const int32_t value)
const int getMinimumValue(void) const
void setPageSize(const nxgl_coord_t pageSize)
nxwidget_pixel_t m_fillColor
nxgl_coord_t getMinimumStep(void) const
virtual void drawContents(CGraphicsPort *port)