From fed0bfda8c8e89326f5dec1d4f196013aee61bcc Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 4 Nov 2013 21:54:13 +0100 Subject: [PATCH] - moviebrowser: disable hdd-bar in youtube mode --- src/gui/moviebrowser.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index b29a57253..1eb47dbee 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -1286,7 +1286,9 @@ printf("CMovieBrowser::refreshMovieInfo\n"); //printf("refreshMovieInfo: EpgId %llx id %llx y %d\n", m_movieSelectionHandler->epgEpgId, m_movieSelectionHandler->epgId, m_cBoxFrameTitleRel.iY); int lx = m_cBoxFrame.iX+m_cBoxFrameTitleRel.iX+m_cBoxFrameTitleRel.iWidth-logo_w-10; int ly = m_cBoxFrameTitleRel.iY+m_cBoxFrame.iY+ (m_cBoxFrameTitleRel.iHeight-logo_h)/2; - const short pb_hdd_offset = 104; + short pb_hdd_offset = 104; + if (show_mode == MB_SHOW_YT) + pb_hdd_offset = 0; m_pcWindow->paintBoxRel(lx - pb_hdd_offset , ly, logo_w, logo_h, TITLE_BACKGROUND_COLOR); std::string lname; if(g_PicViewer->GetLogoName(m_movieSelectionHandler->epgEpgId >>16, m_movieSelectionHandler->epgChannel, lname, &logo_w, &logo_h)){ @@ -1310,6 +1312,9 @@ printf("CMovieBrowser::refreshMovieInfo\n"); void CMovieBrowser::info_hdd_level(bool paint_hdd) { + if (show_mode == MB_SHOW_YT) + return; + struct statfs s; long blocks_percent_used =0; static long tmp_blocks_percent_used = 0;