Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8983 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_bar.h


Ignore:
Timestamp:
Jul 1, 2006, 4:12:44 PM (19 years ago)
Author:
bensch
Message:

blend-stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_bar.h

    r8972 r8983  
    2626    virtual ~GLGuiBar();
    2727
    28     void setValue(float value) { this->value = value; };
    29     void setMinimum(float minimum) { this->minimum = minimum; };
    30     void setMaximum(float maximum) { this->maximum = maximum; };
     28    void setValue(float value);
     29    void setMinimum(float minimum);
     30    void setMaximum(float maximum);
     31    void setRange(float minimum, float maximum);
    3132
    32     float getValue() const { return this->value; };
    33     float getMinimum() const { return this->minimum; };
    34     float getMaximum() const { return this->maximum; };
     33    float getValue() const { return this->_value; };
     34    float getMinimum() const { return this->_minimum; };
     35    float getMaximum() const { return this->_maximum; };
    3536
    3637    virtual void update() { };
     
    3940  protected:
    4041    virtual void resize();
     42    virtual void updateFrontColor();
    4143
    4244  private:
     
    4446
    4547  private:
    46     float value;
     48    float         _value;
    4749
    48     float minimum;
    49     float maximum;
     50    Rect2D        _frontRect;
     51
     52    float         _minimum;
     53    float         _maximum;
    5054  };
    5155}
Note: See TracChangeset for help on using the changeset viewer.