mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
gui/imageinfo.cpp: honor screen setup values
This commit is contained in:
@@ -181,7 +181,14 @@ void CImageInfo::ShowWindow()
|
|||||||
{
|
{
|
||||||
CComponentsFooter *footer = NULL;
|
CComponentsFooter *footer = NULL;
|
||||||
if (cc_win == NULL){
|
if (cc_win == NULL){
|
||||||
|
CFrameBuffer *frameBuffer = CFrameBuffer::getInstance ();
|
||||||
|
#if 0
|
||||||
cc_win = new CComponentsWindowMax(LOCALE_IMAGEINFO_HEAD, NEUTRINO_ICON_INFO);
|
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);
|
cc_win->setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT);
|
||||||
footer = cc_win->getFooterObject();
|
footer = cc_win->getFooterObject();
|
||||||
footer->setColorBody(COL_INFOBAR_SHADOW_PLUS_1);
|
footer->setColorBody(COL_INFOBAR_SHADOW_PLUS_1);
|
||||||
|
@@ -64,7 +64,8 @@ class CImageInfo : public CMenuTarget
|
|||||||
void ShowWindow();
|
void ShowWindow();
|
||||||
void ScrollLic(bool scrollDown);
|
void ScrollLic(bool scrollDown);
|
||||||
|
|
||||||
CComponentsWindowMax *cc_win;
|
//CComponentsWindowMax *cc_win;
|
||||||
|
CComponentsWindow *cc_win;
|
||||||
CComponentsForm *cc_info;
|
CComponentsForm *cc_info;
|
||||||
CComponentsPIP *cc_tv;
|
CComponentsPIP *cc_tv;
|
||||||
CComponentsInfoBox *cc_lic;
|
CComponentsInfoBox *cc_lic;
|
||||||
|
Reference in New Issue
Block a user