Integer Slider

gui

#1

Hi, I’m a noob when it comes to both C++ and Juce.

I’d like to make a slider or some equivalent knob that sends and displays int values instead of floats, so I can more cleanly adjust my parameters.

Any recommendations?


#2
void Slider::setRange	(	double 	newMinimum,
                            double 	newMaximum,
                            double 	newInterval = 0 
)	

Set newInterval to 1


#3

Thank you