CComponentsText: init CComponentsText without paint of text background

This avoids unnecessary render of backgrounds in textboxes. If it does,
so it's possible to enable it subsequently with doPaintTextBoxBg().
This commit is contained in:
2013-04-26 18:59:08 +02:00
parent 19f2d556ee
commit 9735c670fd

View File

@@ -95,7 +95,7 @@ void CComponentsText::initVarText()
ct_text_mode = CTextBox::AUTO_WIDTH;
ct_col_text = COL_MENUCONTENT;
ct_text_sent = false;
ct_paint_textbg = true;
ct_paint_textbg = false;
ct_force_text_paint = false;
}