Quantcast
Viewing all articles
Browse latest Browse all 40524

[SOLVED] Reference to Method's Object, ofEvents

you just need to add a & before the variable since the ofAddListener function expects a pointer, like:

ofAddListener(saveButton.clickevent, &myvideo, &VideoClass::saveImage);

Viewing all articles
Browse latest Browse all 40524

Trending Articles