Changeset 4338 in orxonox.OLD for orxonox/trunk/src/lib/gui/gui/gui_gtk.h
- Timestamp:
- May 27, 2005, 9:16:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui/gui_gtk.h
r4132 r4338 61 61 62 62 virtual void setTitle(const char* title); //!< An abstract Function, that sets the title of Widgets. 63 virtual const char* getTitle(void) const { return this->title; }; 63 64 64 65 Widget* findWidgetByName(char* name, unsigned int depth); … … 296 297 { 297 298 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); 299 float start; //!< The beginning of the Slider-range. 300 float end; //!< The end of the Slider-range. 301 float fValue; //!< a value for the slider 302 public: 303 Slider(const char* slidername, float start, float end); 302 304 virtual ~Slider(void); 303 305 304 void setValue(int value); 305 virtual void redraw(void); 306 virtual void changeOption(void); 306 void setExactness(int exactness); 307 void setValue(float value); 308 virtual void redraw(void); 309 virtual void changeOption(void); 310 311 virtual char* save(void); 312 virtual void load(char* loadString); 307 313 }; 308 314
Note: See TracChangeset
for help on using the changeset viewer.