mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 01:43:35 +02:00
Rework handling muteicon
- Integrated for monitoring the mute icon into the frame buffer class.
If the icon is overwritten by an element, it is restored from the
framebuffer.
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1049b337bb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-13 (Mon, 13 May 2013)
Origin message was:
------------------
* Rework handling muteicon
- Integrated for monitoring the mute icon into the frame buffer class.
If the icon is overwritten by an element, it is restored from the
framebuffer.
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -33,6 +33,7 @@ class CAudioMute : public CComponentsPicture
|
||||
{
|
||||
private:
|
||||
int y_old;
|
||||
bool do_paint_mute_icon;
|
||||
|
||||
public:
|
||||
|
||||
@@ -41,6 +42,8 @@ class CAudioMute : public CComponentsPicture
|
||||
static CAudioMute* getInstance();
|
||||
|
||||
void AudioMute(int newValue, bool isEvent= false);
|
||||
void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }
|
||||
void enableMuteIcon(bool enable);
|
||||
};
|
||||
|
||||
#endif // __CAUDIOMUTE__
|
||||
|
Reference in New Issue
Block a user