CComponentsText: move setTextRenderModeFullBG() to text object

This is mostly required here


Origin commit data
------------------
Commit: 11c9d0780a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
This commit is contained in:
2014-09-20 21:34:53 +02:00
committed by [CST] Focus
parent 2e95367b7d
commit b73e09fe81
2 changed files with 3 additions and 4 deletions

View File

@@ -398,10 +398,6 @@ void CComponentsHeader::initGradient()
cc_gradientData.gradientBuf = cc_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()