mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsHeader: Use Font::FULLBG for rendering string...
...when text is painted on a color gradient
This commit is contained in:
@@ -400,6 +400,10 @@ void CComponentsHeader::initGradient()
|
|||||||
cc_gradientData.gradientBuf = gradientBuf;
|
cc_gradientData.gradientBuf = gradientBuf;
|
||||||
cc_gradientData.direction = CFrameBuffer::gradientVertical;
|
cc_gradientData.direction = CFrameBuffer::gradientVertical;
|
||||||
cc_gradientData.mode = CFrameBuffer::pbrg_noOption;
|
cc_gradientData.mode = CFrameBuffer::pbrg_noOption;
|
||||||
|
|
||||||
|
CTextBox* ctb = cch_text_obj->getCTextBoxObject();
|
||||||
|
if (ctb)
|
||||||
|
ctb->setTextRenderModeFullBG(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsHeader::initCCItems()
|
void CComponentsHeader::initCCItems()
|
||||||
|
Reference in New Issue
Block a user