mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
Fix order of colors for some progress bars
Origin commit data
------------------
Branch: ni/coolstream
Commit: adfbfe079c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-05 (Fri, 05 Apr 2013)
Origin message was:
------------------
* Fix order of colors for some progress bars
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user