gui/imageinfo.cpp: honor screen setup values

Origin commit data
------------------
Branch: ni/coolstream
Commit: ae320ba411
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-01-31 (Fri, 31 Jan 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-01-31 16:31:05 +04:00
parent f15ba92898
commit 58db16fcdf
2 changed files with 9 additions and 1 deletions

View File

@@ -181,7 +181,14 @@ 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->setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT);
footer = cc_win->getFooterObject();
footer->setColorBody(COL_INFOBAR_SHADOW_PLUS_1);