ofxControlPanel
ofxControlPanel copied to clipboard
hasValueChanged(...) seems broken
not sure if I am using it wrong, but it appears broken. Just tried to use it on a few values and it's always returning true.
oh snaps -- I see, I need to use clearAllChanged(...). This is understandable, but I would expect the gui to sort this internally, from update to update. (ie, between updates, did this value change) -- a bit like videoGrabber.isFrameNew()....
going to leave this issue open if people have ideas.
cool yeah - its not ideal. the new gui detects if it is being drawn to the screen and accepts mouse and key presses appropriately.
I guess we could use frame count to check and clear appropriately.