From be04423b305dd8369fd03cef4ee10f73424913b7 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 ff767289608142f16781dfd794e3da1ddfc5694e, Size handling fixed in 533c2cfc5c8aaf4f56fa07828d44ccb03a62efa6 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/fb4819ff1483f28dd829478b72ec8c667f576a2b Author: Thilo Graf Date: 2014-01-31 (Fri, 31 Jan 2014) --- 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);