CImageInfo: enable missing window shadow

Also revert ff76728960,
Size handling fixed in 533c2cfc5c8aaf4f56fa07828d44ccb03a62efa6


Origin commit data
------------------
Commit: fb4819ff14
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-31 (Fri, 31 Jan 2014)
This commit is contained in:
2014-01-31 19:34:41 +01:00
parent 10289e5d36
commit be04423b30

View File

@@ -181,14 +181,7 @@ void CImageInfo::ShowWindow()
{ {
CComponentsFooter *footer = NULL; CComponentsFooter *footer = NULL;
if (cc_win == NULL){ if (cc_win == NULL){
CFrameBuffer *frameBuffer = CFrameBuffer::getInstance (); cc_win = new CComponentsWindowMax(LOCALE_IMAGEINFO_HEAD, NEUTRINO_ICON_INFO, CC_SHADOW_ON);
#if 0
cc_win = new CComponentsWindowMax(LOCALE_IMAGEINFO_HEAD, NEUTRINO_ICON_INFO);
#endif
cc_win = new CComponentsWindow(frameBuffer->getScreenX(), frameBuffer->getScreenY(),
frameBuffer->getScreenWidth(),
frameBuffer->getScreenHeight(),
LOCALE_IMAGEINFO_HEAD, NEUTRINO_ICON_INFO);
cc_win->setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT); cc_win->setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT);
footer = cc_win->getFooterObject(); footer = cc_win->getFooterObject();
footer->setColorBody(COL_INFOBAR_SHADOW_PLUS_1); footer->setColorBody(COL_INFOBAR_SHADOW_PLUS_1);