40 #ifndef _uiscrollbar_h
41 #define _uiscrollbar_h
43 #include "uienumerations.h"
44 #include "UI/pageprovider.h"
45 #include "UI/widgetfactory.h"
165 virtual void SubscribeToChildEvents();
169 virtual Real GetScrollRange()
const;
173 virtual Real GetUpperScrollLimit()
const = 0;
177 virtual Real GetLowerScrollLimit()
const = 0;
199 virtual void SetScrollerValue(
const Real& Value) = 0;
204 virtual Real GetScrollerValue()
const = 0;
208 virtual void SetScrollerSize(
const Real& Size) = 0;
211 virtual Real GetScrollerSize()
const = 0;
216 virtual void SetIncrementDistance(
const Real& IncDist);
219 virtual Real GetIncrementDistance()
const;
223 virtual void SetAutoHide(
Boole AutoHide);
226 virtual Boole GetAutoHide()
const;
233 virtual Button* GetScroller()
const;
236 virtual Button* GetUpLeftButton()
const;
239 virtual Button* GetDownRightButton()
const;
242 virtual Button* GetScrollBack()
const;
248 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
250 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
253 static String GetSerializableName();
261 virtual void _OnScrollValueChanged(
const Real OldValue,
const Real NewValue);
272 virtual Boole _MouseScroll(
const Vector2& MouseDelta) = 0;
277 virtual Boole _MouseWheelScroll(
const Integer Direction) = 0;
282 virtual Boole _ScrollBackScroll(
const Vector2& HitPosition) = 0;
287 virtual Boole _ButtonScroll(
Button* TheButton) = 0;
bool Boole
Generally acts a single bit, true or false.
CountedPtr< ScrollbarValueChangedArguments > ScrollbarValueChangedArgumentsPtr
Convenience typedef for passing around ScrollbarValueChangedArguments.
int Integer
A datatype used to represent any integer close to.
A simple reference counting pointer.
float Real
A Datatype used to represent a real floating point number.
This class represents a 2D rect which can express the size and position of a renderable on screen...
This is used to deduce at compile if a specific class has built-in reference counting or needs an ext...
A light-weight handle for manipulating nodes in DOM tree.
This is used to represent a point on a 2 dimentional area, such as a screen.
A static cast from the pointer as provided with no attempt to calls functions on the pointer target...
This is the base class for interpretting widget values to page positions.
The bulk of the engine components go in this namspace.
This class is a helper class for creating UI's. It is responsible for storing and keeping track of al...
std::string String
A datatype used to a series of characters.