I am using the ControlP5 library to create buttons on the GUI. ControlP5 alters all characters I put in a button’s label to be in upper case. This is undesirable for me. Can this be prevented?
worst case try
/** ControlP5 Button * by Andreas Schlegel, 2012 * www.sojamo.de/libraries/controlp5 */
import controlP5.*;
ControlP5 cp5;
void setup() {
size(300,200);
cp5 = new ControlP5(this);
cp5.addButton("button")
.setValue(0)
.setPosition(100,100)
.setSize(100,19)
.setLabel("")
;
cp5.addLabel("my button text as label")
.setPosition(100,100)
.setSize(100,19)
;
// ControlP5.printPublicMethodsFor(Button.class);
}
void draw() {
background(200,200,0);
}
public void button(int theValue) {
println("a button event : "+theValue);
}