Open nkint opened 9 years ago
Hi! I'm facing with a situation where I have to manually set properties of each widget added to the main canvas gui:
w= gui->addSlider("BACKGROUND",0.0,255.0,100.0); w->setDrawOutline(true); w->setColorOutline(ofColor(255)); w = gui->addToggle("FULLSCREEN", false); w->setDrawOutline(true); w->setColorOutline(ofColor(255));
Because gui->setDrawOutline(true); set only the outline of the canvas. It is a lot of repeating code.. any hints on how doing it automatically?
gui->setDrawOutline(true);
Hi! I'm facing with a situation where I have to manually set properties of each widget added to the main canvas gui:
Because
gui->setDrawOutline(true);
set only the outline of the canvas. It is a lot of repeating code.. any hints on how doing it automatically?