CInfoClock: Fix paint info clock when mute icon is displayed

This commit is contained in:
M. Liebmann
2013-11-20 05:49:44 +01:00
parent b8b61684df
commit 6a5d335430
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();