CImageInfo: fix button color with gradient

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1097a8ef0d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-27 (Sat, 27 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-12-27 22:07:01 +01:00
parent 31cf469481
commit 63faa249d6

View File

@@ -185,7 +185,8 @@ void CImageInfo::ShowWindow()
cc_win->setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT);
footer = cc_win->getFooterObject();
int h_footer = footer->getHeight();
btn_red = new CComponentsButtonRed(10, CC_CENTERED, 250, h_footer-h_footer/4, LOCALE_BUILDINFO_MENU, footer, false , true, false, footer->getColorBody(), footer->getColorBody());
fb_pixel_t btn_col = g_settings.gradiant ? COL_BUTTON_BODY : footer->getColorBody();
btn_red = new CComponentsButtonRed(10, CC_CENTERED, 250, h_footer-h_footer/4, LOCALE_BUILDINFO_MENU, footer, false , true, false, footer->getColorBody(), btn_col);
}
//prepare minitv