Activate reworked mute icon handling for apollo hardware

This commit is contained in:
Michael Liebmann
2013-08-24 15:42:55 +02:00
parent df2fab4ceb
commit 677a3ba116
2 changed files with 1 additions and 5 deletions

View File

@@ -748,6 +748,7 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int
fillrect.width = dx;
fillrect.height = dy;
ioctl(fd, FBIO_FILL_RECT, &fillrect);
checkFbArea(x, y, dx, dy, false);
return;
}
#endif

View File

@@ -290,12 +290,7 @@ class CFrameBuffer
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; }
#endif
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 doPaintMuteIcon(bool mode) { do_paint_mute_icon = mode; }