Changeset 7924 in orxonox.OLD for branches/gui/src/lib/gui/gl_gui/glgui_slider.h
- Timestamp:
- May 28, 2006, 5:04:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl_gui/glgui_slider.h
r7919 r7924 26 26 virtual ~GLGuiSlider(); 27 27 28 void init(); 28 /** @returns the Value of the Slider. */ 29 float value() const { return this->_value; } 30 /** @returns the minimum of the sliders range */ 31 float min() const { return this->_minValue; }; 32 /** @returns the maximum of the sliders range */ 33 float max() const { return this->_maxValue; }; 34 /** @returns the step size */ 35 float step() const { return this->_step; }; 36 37 void setValue(float value); 38 39 void setMin(float minimum); 40 void setMax(float maximum); 41 void setRange(float minimum, float maximum); 42 43 void setStep(float step); 44 29 45 30 46 virtual void draw() const; 31 47 32 48 private: 49 void init(); 50 private: 51 33 52 Orientation orientation; 34 53 35 54 float _maxValue; 36 55 float _minValue; 56 float _step; 37 57 38 58 float _value;
Note: See TracChangeset
for help on using the changeset viewer.