@matteo wrote:
Hi!
I’m getting the error “ofAddListener’: no overloaded function takes 4 arguments” when I try to add a listener to a ofxToggle. Do you know where I’m wrong? Thanks.void ofApp::update(){ ... rubber.addListener(this, &ofApp::rubberClicked); ... } void ofApp::rubberClicked(bool toggleValue) { cout << "rubber" << endl; }
Posts: 2
Participants: 2