23 #ifndef __MYGUI_VSCROLL_H__
24 #define __MYGUI_VSCROLL_H__
44 void setScrollRange(
size_t _value);
46 size_t getScrollRange() {
return mScrollRange; }
49 void setScrollPosition(
size_t _value);
68 virtual int getLineSize();
73 virtual void setTrackSize(
int _value);
75 virtual int getTrackSize();
91 virtual void setPosition(
const IntPoint& _value);
93 virtual void setSize(
const IntSize& _value);
95 virtual void setCoord(
const IntCoord& _value);
105 virtual void setProperty(
const std::string& _key,
const std::string& _value);
120 #ifndef MYGUI_DONT_USE_OBSOLETE
122 MYGUI_OBSOLETE(
"use : void Widget::setCoord(const IntCoord& _coord)")
123 void setPosition(const
IntCoord& _coord) { setCoord(_coord); }
124 MYGUI_OBSOLETE(
"use : void Widget::setCoord(int _left, int _top, int _width, int _height)")
125 void setPosition(
int _left,
int _top,
int _width,
int _height) { setCoord(_left, _top, _width, _height); }
127 #endif // MYGUI_DONT_USE_OBSOLETE
134 virtual void updateTrack();
135 virtual void TrackMove(
int _left,
int _top);
137 virtual void onMouseWheel(
int _rel);
141 void notifyMouseDrag(
Widget* _sender,
int _left,
int _top);
142 void notifyMouseWheel(
Widget* _sender,
int _rel);
146 void shutdownWidgetSkin();
176 #endif // __MYGUI_VSCROLL_H__