From fb4819ff1483f28dd829478b72ec8c667f576a2b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 31 Jan 2014 19:34:41 +0100 Subject: [PATCH] CImageInfo: enable missing window shadow Also revert ae320ba4118af9beb77de6b33f8542d9f30fad0b, Size handling fixed in 533c2cfc5c8aaf4f56fa07828d44ccb03a62efa6 --- src/gui/imageinfo.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/gui/imageinfo.cpp b/src/gui/imageinfo.cpp index e1e71e63f..297334d67 100644 --- a/src/gui/imageinfo.cpp +++ b/src/gui/imageinfo.cpp @@ -181,14 +181,7 @@ void CImageInfo::ShowWindow() { CComponentsFooter *footer = NULL; if (cc_win == NULL){ - CFrameBuffer *frameBuffer = CFrameBuffer::getInstance (); -#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 = new CComponentsWindowMax(LOCALE_IMAGEINFO_HEAD, NEUTRINO_ICON_INFO, CC_SHADOW_ON); cc_win->setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT); footer = cc_win->getFooterObject(); footer->setColorBody(COL_INFOBAR_SHADOW_PLUS_1);