From 41eb7380f285ed4bca2f7bcce97acb4d65613859 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 58db16fcdf22a86be43fc1a947017b0501cb916b, Size handling fixed in 533c2cfc5c8aaf4f56fa07828d44ccb03a62efa6 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/fb4819ff1483f28dd829478b72ec8c667f576a2b Author: Thilo Graf Date: 2014-01-31 (Fri, 31 Jan 2014) ------------------ This commit was generated by Migit --- 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);