Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4345 in orxonox.OLD


Ignore:
Timestamp:
May 27, 2005, 10:53:18 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cooler incrementations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/gui/gui/gui_gtk.cc

    r4338 r4345  
    3030#include <string.h>
    3131#include <stdlib.h>
     32#include <math.h>
    3233
    3334using namespace std;
     
    12821283#ifdef HAVE_GTK2
    12831284 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));
    12841286#endif /* HAVE_GTK2 */
    12851287}
Note: See TracChangeset for help on using the changeset viewer.