7#ifndef MYGUI_SCROLL_BAR_H_
8#define MYGUI_SCROLL_BAR_H_
33 void setVerticalAlignment(
bool _value);
35 bool getVerticalAlignment()
const;
38 void setScrollRange(
size_t _value);
40 size_t getScrollRange()
const;
43 void setScrollPosition(
size_t _value);
45 size_t getScrollPosition()
const;
50 void setScrollPage(
size_t _value);
52 size_t getScrollPage()
const;
57 void setScrollViewPage(
size_t _value);
59 size_t getScrollViewPage()
const;
64 void setScrollWheelPage(
size_t _value);
66 size_t getScrollWheelPage()
const;
69 int getLineSize()
const;
74 void setTrackSize(
int _value);
76 int getTrackSize()
const;
79 void setMinTrackSize(
int _value);
81 int getMinTrackSize()
const;
87 void setMoveToClick(
bool _value);
89 bool getMoveToClick()
const;
94 void setRepeatEnabled(
bool enabled);
98 bool getRepeatEnabled()
const;
101 void setRepeatTriggerTime(
float time);
103 float getRepeatTriggerTime(
float time)
const;
106 void setRepeatStepTime(
float time);
108 float getRepeatStepTime(
float time)
const;
111 void setPosition(
const IntPoint& _value)
override;
113 void setSize(
const IntSize& _value)
override;
115 void setCoord(
const IntCoord& _value)
override;
130 void initialiseOverride()
override;
131 void shutdownOverride()
override;
134 void TrackMove(
int _left,
int _top);
136 void onMouseWheel(
int _rel)
override;
141 void notifyMouseWheel(
Widget* _sender,
int _rel);
143 void setPropertyOverride(
const std::string& _key,
const std::string& _value)
override;
145 int getTrackPlaceLength()
const;
149 void widgetStartPressed();
150 void widgetEndPressed();
151 void widgetFirstPartPressed();
152 void widgetSecondPartPressed();
#define MYGUI_RTTI_DERIVED(DerivedType)
delegates::CMultiDelegate2< ScrollBar *, size_t > EventHandle_ScrollBarPtrSizeT