CInfoClock: Fix paint info clock when mute icon is displayed

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6a5d335430
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-20 (Wed, 20 Nov 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-11-20 05:49:44 +01:00
parent 885cbcbc40
commit 7f2097f657
4 changed files with 24 additions and 2 deletions

View File

@@ -340,6 +340,14 @@ void CVolumeHelper::initVolBarSize()
}
}
int CVolumeHelper::getInfoClockX()
{
if (CNeutrinoApp::getInstance()->isMuted())
return clock_ax - mute_dx - h_spacer;
else
return clock_ax;
}
void CVolumeHelper::refresh()
{
Init();