12-30-2012 01:47 PM
In a word, DIY There is no integer slider in Cascades.
Wrap the standard floating-point (continuous) Slider into you own class.
Listen to the valueChanged(float) and immediateValueChanged(float) signals.
Emit your own signals when slider moves from one discrete value to another.
Fix continuous slider position to the nearest discrete value in the valueChanged(float) signal handler.
For each continuous slider position you'll need to find the nearest discrete value.
02-17-2014 04:25 PM
This worked for me...and its easier!!
property int intValue : slider.immediateValue
Now instead of reading from immediateValue, just read from intValue.