Changeset 4345 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 27, 2005, 10:53:18 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui/gui_gtk.cc
r4338 r4345 30 30 #include <string.h> 31 31 #include <stdlib.h> 32 #include <math.h> 32 33 33 34 using namespace std; … … 1282 1283 #ifdef HAVE_GTK2 1283 1284 gtk_scale_set_digits(GTK_SCALE(this->widget), exactness); 1285 gtk_range_set_increments(GTK_RANGE(this->widget), pow(.1, exactness), pow(.1, exactness-1)); 1284 1286 #endif /* HAVE_GTK2 */ 1285 1287 }
Note: See TracChangeset
for help on using the changeset viewer.