Modifying ControlP5 range sliders/libraries in general
in
Contributed Library Questions
•
2 years ago
I'm using ControlP5's range sliders, and need to increase the handle width for use with touchscreen. they are by default 10 pixels wide, and I need them to be 30 or 40.
I found the source code and the variable "handleSize" modified it, and recompiled the library JAR, (which may or may not have been done successfully, I am unsure how to tell) - and it hasn't increased the handle width. is there a way to see the value of a protected integer from the library (i.e. print the value of handleSize) or another way to debug this? changing that variable should fix my issue, but I'm short on time to figure this out and new to Processing/Java.
What I'm doing is using the range slider to select a range of blocks in a plot. I'm not sure of an easy workaround for this, but am open to suggestions.
I found the source code and the variable "handleSize" modified it, and recompiled the library JAR, (which may or may not have been done successfully, I am unsure how to tell) - and it hasn't increased the handle width. is there a way to see the value of a protected integer from the library (i.e. print the value of handleSize) or another way to debug this? changing that variable should fix my issue, but I'm short on time to figure this out and new to Processing/Java.
What I'm doing is using the range slider to select a range of blocks in a plot. I'm not sure of an easy workaround for this, but am open to suggestions.
2