* 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 is contained in:
Michael Liebmann
2013-05-13 06:31:02 +02:00
parent 8079c9126b
commit 1049b337bb
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__