gui/imageinfo.cpp: honor screen setup values

This commit is contained in:
[CST] Focus
2014-01-31 16:31:05 +04:00
parent 2441171656
commit ae320ba411
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);

View File

@@ -64,7 +64,8 @@ class CImageInfo : public CMenuTarget
void ShowWindow();
void ScrollLic(bool scrollDown);
CComponentsWindowMax *cc_win;
//CComponentsWindowMax *cc_win;
CComponentsWindow *cc_win;
CComponentsForm *cc_info;
CComponentsPIP *cc_tv;
CComponentsInfoBox *cc_lic;