mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user