Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2005, 1:11:42 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/physics: slider now supports floats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/lib/gui/gui/gui_gtk.h

    r4178 r4319  
    296296{
    297297 private:
    298   int start;                            //!< The beginning of the Slider-range.
    299   int end;                              //!< The end of the Slider-range.
    300  public:
    301   Slider(const char* slidername, int start, int end);
     298  float start;                            //!< The beginning of the Slider-range.
     299  float end;                              //!< The end of the Slider-range.
     300  float fValue;                           //!< a value for the slider
     301 public:
     302  Slider(const char* slidername, float start, float end);
    302303  virtual ~Slider(void);
    303304
    304   void setValue(int value);
    305   virtual void redraw(void);
    306   virtual void changeOption(void);
     305  void setValue(float value);
     306  virtual void redraw(void);
     307  virtual void changeOption(void);
     308
     309  virtual char* save(void);
     310  virtual void load(char* loadString);
    307311};
    308312
Note: See TracChangeset for help on using the changeset viewer.