Open dimitre opened 9 years ago
I can't customize ofxUIButton colors. Similar code works on ofxUIToggle and the rest of the widgets.
else if (tipo == "button") { parametrosBool[nome] = def; guiMap[guiName]->addButton(nome, ¶metrosBool[nome], 16, 16); ofxUIButton *s = (ofxUIButton *) guiMap[guiName]->getWidget(nome); s->setColorBack(parametrosColor["back"]); s->setColorFill(parametrosColor["fill"]); s->setColorFillHighlight(parametrosColor["fillhighlight"]); s->setColorOutlineHighlight(parametrosColor["outlinehighlight"]); }
Thanks!
I can't customize ofxUIButton colors. Similar code works on ofxUIToggle and the rest of the widgets.
Thanks!