mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
moviebrowser: disable hdd-bar in youtube mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: fed0bfda8c
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-04 (Mon, 04 Nov 2013)
Origin message was:
------------------
- moviebrowser: disable hdd-bar in youtube mode
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user