CComponentsInfoBox: replace static parameter with inherited member

member value was not looped through
This commit is contained in:
2013-04-25 23:05:28 +02:00
parent 6d088357c3
commit f774eb833f

View File

@@ -134,7 +134,8 @@ void CComponentsInfoBox::paint(bool do_save_bg)
cctext = new CComponentsText();
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->paint(CC_SAVE_SCREEN_NO);
}