diff --git a/src/driver/volume.cpp b/src/driver/volume.cpp index d0c556f60..82c0ec51f 100644 --- a/src/driver/volume.cpp +++ b/src/driver/volume.cpp @@ -106,12 +106,13 @@ void CVolume::Init() vbar_w = spacer + icon_w + spacer + progress_w + spacer; if (paintDigits) { digit_w = g_Font[VolumeFont]->getRenderWidth("100"); - progress_h = std::max(icon_h, digit_h) - 2*pB; + progress_h = std::max(icon_h, digit_h); vbar_w += digit_w; } if (volscale) delete volscale; volscale = new CProgressBar(progress_x, progress_y, progress_w, progress_h, colFrame, colBar, colShadow, COL_MENUCONTENT_PLUS_3, COL_MENUCONTENT_PLUS_1, true); + volscale->setInvert(); // mute icon mute_icon_dx = 0; diff --git a/src/gui/dboxinfo.cpp b/src/gui/dboxinfo.cpp index 1e48bc29e..8c6087633 100644 --- a/src/gui/dboxinfo.cpp +++ b/src/gui/dboxinfo.cpp @@ -445,6 +445,7 @@ void CDBoxInfoWidget::paint() CProgressBar pb(x+offsetw, ypos+3, pbw, mheight-10); pb.setFrameThickness(0); pb.setBlink(); + pb.setInvert(); pb.setValues(percent_used, 100); pb.paint(false); } diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 1ce423fee..c7bd1eaf0 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -232,6 +232,7 @@ void CInfoViewer::changePB() delete timescale; timescale = new CProgressBar(); timescale->setBlink(); + timescale->setRgb(0, 100, 70); } void CInfoViewer::paintTime (bool show_dot, bool firstPaint) diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index 7bf733ecd..98a611806 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -821,12 +821,14 @@ void CInfoViewerBB::changePB() hddscale = new CProgressBar(); hddscale->setFrameThickness(0); hddscale->setBlink(); + hddscale->setInvert(); if (sysscale) delete sysscale; sysscale = new CProgressBar(); sysscale->setFrameThickness(0); sysscale->setBlink(); + sysscale->setInvert(); } void CInfoViewerBB::reset_allScala() diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index e91dd8429..7aa357c72 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -1288,6 +1288,7 @@ void CMovieBrowser::info_hdd_level(bool paint_hdd) CProgressBar pb(m_cBoxFrame.iX+ m_cBoxFrameFootRel.iWidth - pbw - border, m_cBoxFrame.iY+m_cBoxFrameTitleRel.iY + border, pbw, m_cBoxFrameTitleRel.iHeight/2); pb.setBlink(); pb.setInvert(); + pb.setFrameThickness(0); pb.setValues( blocks_percent_used, 100); pb.paint(false); } diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index d025c81fe..8fcf0f300 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -122,8 +122,10 @@ int CStreamInfo2::doSignalStrengthLoop () int res = menu_return::RETURN_REPAINT; sigscale = new CProgressBar(/*true, BAR_WIDTH, BAR_HEIGHT*/); sigscale->setBlink(); + sigscale->setFrameThickness(0); snrscale = new CProgressBar(/*true, BAR_WIDTH, BAR_HEIGHT*/); snrscale->setBlink(); + snrscale->setFrameThickness(0); lastsnr = lastsig = -1; neutrino_msg_t msg; diff --git a/src/gui/timeosd.cpp b/src/gui/timeosd.cpp index be165b3b7..f3d482277 100644 --- a/src/gui/timeosd.cpp +++ b/src/gui/timeosd.cpp @@ -119,6 +119,7 @@ void CTimeOSD::updatePos(short runningPercent) timescale->setProgress(m_xstart, m_y, BARLEN, m_height -5, runningPercent, 100); timescale->setBlink(); + timescale->setRgb(0, 100, 70); timescale->paint(); }