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:
Michael Liebmann
2013-05-13 06:31:02 +02:00
parent 3cc3eec0ed
commit c6e25fc5c4
5 changed files with 228 additions and 26 deletions

View File

@@ -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__