Changeset 4325 in orxonox.OLD for orxonox/branches/physics/src/lib
- Timestamp:
- May 27, 2005, 2:18:49 AM (20 years ago)
- Location:
- orxonox/branches/physics/src/lib/gui/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/lib/gui/gui/gui_gtk.cc
r4319 r4325 1078 1078 #ifdef HAVE_GTK2 1079 1079 /** 1080 \brief Signal OptionChange writes the Value from the Sliderto its Object-Database.1081 \param widget The widget( Slider) that has a changed Value1082 \param slider the Slider-Object that should receive the change.1080 \brief Signal OptionChange writes the Value from the Option to its Object-Database. 1081 \param widget The widget(Option) that has a changed Value 1082 \param option the Option-Object that should receive the change. 1083 1083 */ 1084 1084 gint Option::OptionChange(GtkWidget *widget, Widget* option) … … 1272 1272 { 1273 1273 PRINTF(5)("deleting the Slider: %s\n", this->title); 1274 } 1275 1276 /** 1277 \brief sets the exactness of the widget 1278 \param exactness count of digits after the dot 1279 */ 1280 void Slider::setExactness(int exactness) 1281 { 1282 #ifdef HAVE_GTK2 1283 gtk_scale_set_digits(GTK_SCALE(this->widget), exactness); 1284 #endif /* HAVE_GTK2 */ 1274 1285 } 1275 1286 -
orxonox/branches/physics/src/lib/gui/gui/gui_gtk.h
r4323 r4325 304 304 virtual ~Slider(void); 305 305 306 void setExactness(int exactness); 306 307 void setValue(float value); 307 308 virtual void redraw(void);
Note: See TracChangeset
for help on using the changeset viewer.