[ControlP5] How to everything toUpperCase(false)

edited September 2014 in Library Questions

hello, can i make everything/global like toUpperCase(false)?

it will be great, if something like this
cp5.getControlFont().toUpperCase(false)
would work

Answers

  • After you initialised every Controller, loop through every Controller, retrieve its Label and set the toUpperCase to false. There is a method in the main ControlP5 class (look in the javadoc) that returns a list of all controllers. A Controller has a method to retrieve its Label and once you have the label you can call the toUpperCase() method. You can only do this for the labels, not for the controllers or fonts. You should have plenty of examples by now ;)

Sign In or Register to comment.