CComponentsHeader: Use Font::FULLBG for rendering string...

...when text is painted on a color gradient
This commit is contained in:
M. Liebmann
2014-09-20 21:34:38 +02:00
committed by [CST] Focus
parent 9ab1f62cf0
commit 8762d4b871

View File

@@ -400,6 +400,10 @@ void CComponentsHeader::initGradient()
cc_gradientData.gradientBuf = gradientBuf;
cc_gradientData.direction = CFrameBuffer::gradientVertical;
cc_gradientData.mode = CFrameBuffer::pbrg_noOption;
CTextBox* ctb = cch_text_obj->getCTextBoxObject();
if (ctb)
ctb->setTextRenderModeFullBG(true);
}
void CComponentsHeader::initCCItems()