suggestion: possibility to change values of an ofxUILabel ~ use it as an variable inspector
Closed this issue · 3 comments
dimitre commented
Something like this:
guiMap["0"]->addLabel("dirName", &dirName);
Where I can display variables, in this case the actual working directory.
This code runs without error but doesn't change label
ofxUILabel *l = (ofxUILabel*)guiMap["0"]->getWidget("dirName");
l->setLabel(dirName);
Thanks
rezaali commented
great idea! Will be updating ofxUI next month when I get some time! In the
mean time feel free to send me a pull request.
On Wed, Apr 22, 2015 at 7:06 AM Dimitre notifications@github.com wrote:
Something like this:
guiMap["0"]->addLabel("dirName", &dirName);
Where I can display variables, in this case the actual working directory.
—
Reply to this email directly or view it on GitHub
#240.