CComponentsInfoBox: prevent background paint in infobox

Background for text is not needed here


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4e7f81a126
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-04 (Thu, 04 Apr 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-04-04 09:47:48 +02:00
parent 8611d5da33
commit 2a5b1a990c

View File

@@ -127,6 +127,7 @@ void CComponentsInfoBox::paint(bool do_save_bg)
cctext = new CComponentsText(); cctext = new CComponentsText();
cctext->setText(ct_text, ct_text_mode, ct_font); cctext->setText(ct_text, ct_text_mode, ct_font);
cctext->doPaintTextBoxBg(false);
cctext->setDimensionsAll(x_text, y+fr_thickness, width-(x_text-x+x_offset+fr_thickness), height-2*fr_thickness); cctext->setDimensionsAll(x_text, y+fr_thickness, width-(x_text-x+x_offset+fr_thickness), height-2*fr_thickness);
cctext->paint(CC_SAVE_SCREEN_NO); cctext->paint(CC_SAVE_SCREEN_NO);
} }