mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
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:
@@ -95,7 +95,7 @@ void CComponentsText::initVarText()
|
|||||||
ct_text_mode = CTextBox::AUTO_WIDTH;
|
ct_text_mode = CTextBox::AUTO_WIDTH;
|
||||||
ct_col_text = COL_MENUCONTENT;
|
ct_col_text = COL_MENUCONTENT;
|
||||||
ct_text_sent = false;
|
ct_text_sent = false;
|
||||||
ct_paint_textbg = true;
|
ct_paint_textbg = false;
|
||||||
ct_force_text_paint = false;
|
ct_force_text_paint = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user