CComponentsText: move setTextRenderModeFullBG() to text object

This is mostly required here
This commit is contained in:
2014-09-20 21:34:53 +02:00
committed by [CST] Focus
parent 83070da483
commit 11c9d0780a
2 changed files with 3 additions and 4 deletions

View File

@@ -166,6 +166,9 @@ void CComponentsText::initCCText()
ct_old_col_text = ct_col_text;
}
//ensure clean font rendering on transparency background
ct_textbox->setTextRenderModeFullBG(!paint_bg);
dprintf(DEBUG_DEBUG, "[CComponentsText] [%s - %d] init text: %s [x %d, y %d, w %d, h %d]\n", __func__, __LINE__, ct_text.c_str(), this->iX, this->iY, this->iWidth, this->iHeight);
}