ofxUI: AddIntSlider does not send any value


I want to get my sliders to send int, rather than float.

Therefore, I tried to use AddIntSlider, which is implemented as
standard. Unfortunately, it does not work.

gui->addSlider("SSPEED", 0, 200, sSpeed); works perfect!

gui->addIntSlider("SSPEED", 0, 200, sSpeed); not at all :-(

The GuiEvents code:


        ofxUISlider *rslider = (ofxUISlider *) e.widget;

        sSpeed = rslider->getScaledValue();

    cout << "slider speed " << sSpeed << "\n";