Changeset View
Changeset View
Standalone View
Standalone View
source/gui/ObjectTypes/CSlider.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | protected: | ||||
/** | /** | ||||
* @return ratio between the value of the slider and its actual size in the GUI | * @return ratio between the value of the slider and its actual size in the GUI | ||||
*/ | */ | ||||
float GetSliderRatio() const; | float GetSliderRatio() const; | ||||
void IncrementallyChangeValue(const float value); | void IncrementallyChangeValue(const float value); | ||||
// Settings | // Settings | ||||
float m_ButtonSide; | CGUISimpleSetting<float> m_ButtonSide; | ||||
float m_MinValue; | CGUISimpleSetting<float> m_MinValue; | ||||
float m_MaxValue; | CGUISimpleSetting<float> m_MaxValue; | ||||
CGUISpriteInstance m_Sprite; | CGUISimpleSetting<CGUISpriteInstance> m_Sprite; | ||||
CGUISpriteInstance m_SpriteBar; | CGUISimpleSetting<CGUISpriteInstance> m_SpriteBar; | ||||
float m_Value; | CGUISimpleSetting<float> m_Value; | ||||
private: | private: | ||||
CVector2D m_Mouse; | CVector2D m_Mouse; | ||||
}; | }; | ||||
#endif // INCLUDED_CSLIDER | #endif // INCLUDED_CSLIDER |
Wildfire Games · Phabricator