void ofxUIDropDownList::draw() { ofxUIPushStyle(); ofEnableBlendMode(OF_BLENDMODE_ALPHA); drawPadded(); drawPaddedOutline(); drawBack(); drawOutline(); drawOutlineHighlight(); drawFill(); drawFillHighlight(); ofxUIPopStyle(); }
void ofxUIWidget::draw() { ofxUIPushStyle(); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); drawPadded(); drawPaddedOutline(); drawBack(); drawOutline(); drawOutlineHighlight(); drawFill(); drawFillHighlight(); ofxUIPopStyle(); }