18#ifndef INCLUDED_CSLIDER
19#define INCLUDED_CSLIDER
#define GUI_OBJECT(obj)
Definition: IGUIObject.h:50
Definition: Canvas2D.h:36
The main object that represents a whole GUI page.
Definition: CGUI.h:61
Rectangle class used for screen rectangles.
Definition: Rect.h:31
CGUISimpleSetting< CGUISpriteInstance > m_SpriteBar
Definition: CSlider.h:68
virtual void Draw(CCanvas2D &canvas)
Draws the object.
Definition: CSlider.cpp:107
CGUISimpleSetting< float > m_ButtonSide
Definition: CSlider.h:64
CGUISimpleSetting< float > m_MinValue
Definition: CSlider.h:65
CGUISimpleSetting< CGUISpriteInstance > m_Sprite
Definition: CSlider.h:67
void UpdateValue()
Change settings and send the script event.
Definition: CSlider.cpp:116
virtual void ResetStates()
Definition: CSlider.cpp:46
CSlider(CGUI &pGUI)
Definition: CSlider.cpp:27
CGUISimpleSetting< float > m_MaxValue
Definition: CSlider.h:66
CGUISimpleSetting< CGUISpriteInstance > m_SpriteBarDisabled
Definition: CSlider.h:68
virtual ~CSlider()
Definition: CSlider.cpp:42
CGUISimpleSetting< CGUISpriteInstance > m_SpriteDisabled
Definition: CSlider.h:67
CRect GetButtonRect() const
Definition: CSlider.cpp:121
void IncrementallyChangeValue(const float value)
Definition: CSlider.cpp:57
float GetSliderRatio() const
Definition: CSlider.cpp:52
static const CStr EventNameValueChange
Definition: CSlider.h:35
virtual void HandleMessage(SGUIMessage &Message)
Definition: CSlider.cpp:63
CVector2D m_Mouse
Definition: CSlider.h:72
CGUISimpleSetting< float > m_Value
Definition: CSlider.h:69
Definition: Vector2D.h:32
GUI object such as a button or an input-box.
Definition: IGUIObject.h:60
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
Definition: SGUIMessage.h:68