mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +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>
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