mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CAudioMute: remove explicit paint
Already done by InfoClock itself with timer
Origin commit data
------------------
Commit: a94916f2db
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-26 (Tue, 26 Apr 2016)
This commit is contained in:
@@ -84,7 +84,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
|
|||||||
*/
|
*/
|
||||||
if (!CInfoClock::getInstance()->isBlocked()){
|
if (!CInfoClock::getInstance()->isBlocked()){
|
||||||
CInfoClock::getInstance()->ClearDisplay();
|
CInfoClock::getInstance()->ClearDisplay();
|
||||||
CInfoClock::getInstance()->paint();//avoids delay
|
|
||||||
}
|
}
|
||||||
|
|
||||||
frameBuffer->fbNoCheck(true);
|
frameBuffer->fbNoCheck(true);
|
||||||
@@ -98,7 +97,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
|
|||||||
CInfoClock::getInstance()->ClearDisplay();
|
CInfoClock::getInstance()->ClearDisplay();
|
||||||
this->kill();
|
this->kill();
|
||||||
clearSavedScreen();
|
clearSavedScreen();
|
||||||
CInfoClock::getInstance()->paint();//avoids delay
|
|
||||||
}else
|
}else
|
||||||
this->hide();
|
this->hide();
|
||||||
frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1);
|
frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1);
|
||||||
|
Reference in New Issue
Block a user