CComponentsInfoBox: replace static parameter with inherited member

member value was not looped through


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



------------------
This commit was generated by Migit
This commit is contained in:
2013-04-25 23:05:28 +02:00
parent 43c78ead77
commit b11f2f3cd2

View File

@@ -134,7 +134,8 @@ 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->doPaintTextBoxBg(ct_paint_textbg);
cctext->doPaintBg(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);
} }