@rpenrose wrote:
I want multiple (let’s say 4) ofParameter boolean in my GUI (I’m using ofxGui) which can be checked in order to draw different circles (e.g. first bool is for drawing a red filled circle, second bool is for drawing a blue filled circle, etc.).
in ofApp.hofParameter<bool> checkRedCircle; ofParameter<bool> checkBlueCircle; ...
There is a default checkbox when launching the application (e.g. blue circle). When clicking on a new checkbox (e.g. red circle), I want the previous checkbox to go to false. Also, when clicking on a checkbox that is already to true (which means it will go to false), the default checkbox should come back as the only checkbox set to true. What would be the best approach the create this behavior with checkboxes?
Posts: 2
Participants: 2