mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponentsHeader: Use Font::FULLBG for rendering string...
...when text is painted on a color gradient
Origin commit data
------------------
Commit: 8762d4b871
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)
This commit is contained in:
committed by
[CST] Focus
parent
8c927dcee4
commit
be25b2345e
@@ -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()
|
||||
|
Reference in New Issue
Block a user