mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CImageInfo: try to fix paint button paint
Handling with background and frame was changed
This commit is contained in:
@@ -148,6 +148,7 @@ int CImageInfo::exec(CMenuTarget* parent, const std::string &)
|
||||
//paint items
|
||||
cc_sub_caption->paint(false);
|
||||
cc_lic->paint(false);
|
||||
btn_red->kill();
|
||||
btn_red->paint(false);
|
||||
}
|
||||
else if((msg == CRCInput::RC_sat) || (msg == CRCInput::RC_favorites)) {
|
||||
@@ -187,6 +188,9 @@ void CImageInfo::ShowWindow()
|
||||
int h_footer = footer->getHeight();
|
||||
fb_pixel_t btn_col = /*g_settings.theme.Button_gradient ? COL_BUTTON_BODY :*/ footer->getColorBody(); //TODO: Button_gradient option
|
||||
btn_red = new CComponentsButtonRed(10, CC_CENTERED, 250, h_footer-h_footer/4, LOCALE_BUILDINFO_MENU, footer, false , true, false, footer->getColorBody(), btn_col);
|
||||
btn_red->doPaintBg(false);
|
||||
btn_red->setButtonTextColor(COL_INFOBAR_SHADOW_TEXT);
|
||||
btn_red->setColBodyGradient(CC_COLGRAD_OFF);
|
||||
}
|
||||
|
||||
//prepare minitv
|
||||
|
Reference in New Issue
Block a user