mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Activate reworked mute icon handling for apollo hardware
This commit is contained in:
@@ -748,6 +748,7 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int
|
|||||||
fillrect.width = dx;
|
fillrect.width = dx;
|
||||||
fillrect.height = dy;
|
fillrect.height = dy;
|
||||||
ioctl(fd, FBIO_FILL_RECT, &fillrect);
|
ioctl(fd, FBIO_FILL_RECT, &fillrect);
|
||||||
|
checkFbArea(x, y, dx, dy, false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -290,12 +290,7 @@ class CFrameBuffer
|
|||||||
FB_PAINTAREA_MAX
|
FB_PAINTAREA_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(FB_HW_ACCELERATION)
|
|
||||||
inline bool checkFbArea(int, int, int, int, bool) { return true; }
|
|
||||||
#else
|
|
||||||
inline bool checkFbArea(int _x, int _y, int _dx, int _dy, bool prev) { return (fbAreaActiv && !fb_no_check) ? _checkFbArea(_x, _y, _dx, _dy, prev) : true; }
|
inline bool checkFbArea(int _x, int _y, int _dx, int _dy, bool prev) { return (fbAreaActiv && !fb_no_check) ? _checkFbArea(_x, _y, _dx, _dy, prev) : true; }
|
||||||
#endif
|
|
||||||
|
|
||||||
void setFbArea(int element, int _x=0, int _y=0, int _dx=0, int _dy=0);
|
void setFbArea(int element, int _x=0, int _y=0, int _dx=0, int _dy=0);
|
||||||
void fbNoCheck(bool noCheck) { fb_no_check = noCheck; }
|
void fbNoCheck(bool noCheck) { fb_no_check = noCheck; }
|
||||||
void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }
|
void doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }
|
||||||
|
Reference in New Issue
Block a user