From d0b8c8f9dce819b110bb27758464665b0947f9fa Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 26 Apr 2013 18:59:08 +0200 Subject: [PATCH] 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(). Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/9735c670fd1cedb537668a084c6560ef1480be71 Author: Thilo Graf Date: 2013-04-26 (Fri, 26 Apr 2013) ------------------ This commit was generated by Migit --- src/gui/components/cc_item_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_item_text.cpp b/src/gui/components/cc_item_text.cpp index abf3ae89d..13d518f2f 100644 --- a/src/gui/components/cc_item_text.cpp +++ b/src/gui/components/cc_item_text.cpp @@ -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; }