diff --git a/src/driver/framebuffer_ng.cpp b/src/driver/framebuffer_ng.cpp index ada152fde..11dae7ee9 100644 --- a/src/driver/framebuffer_ng.cpp +++ b/src/driver/framebuffer_ng.cpp @@ -3,7 +3,7 @@ Copyright (C) 2001 Steffen Hehn 'McClean' 2003 thegoodguy - Copyright (C) 2007-2013 Stefan Seyfried + Copyright (C) 2007-2015 Stefan Seyfried License: GPL @@ -1269,21 +1269,6 @@ void CFrameBuffer::displayRGB(unsigned char *rgbbuff, int x_size, int y_size, in cs_free_uncached(fbbuff); } -void CFrameBuffer::paintMuteIcon(bool paint, int ax, int ay, int dx, int dy, bool paintFrame) -{ - if(paint) { - if (paintFrame) { - paintBackgroundBoxRel(ax, ay, dx, dy); - paintBoxRel(ax, ay, dx, dy, COL_MENUCONTENT_PLUS_0, RADIUS_SMALL); - } - int icon_dx=0, icon_dy=0; - getIconSize(NEUTRINO_ICON_BUTTON_MUTE, &icon_dx, &icon_dy); - paintIcon(NEUTRINO_ICON_BUTTON_MUTE, ax+((dx-icon_dx)/2), ay+((dy-icon_dy)/2)); - } - else - paintBackgroundBoxRel(ax, ay, dx, dy); -} - void CFrameBuffer::setFbArea(int element, int _x, int _y, int _dx, int _dy) { if (_x == 0 && _y == 0 && _dx == 0 && _dy == 0) { diff --git a/src/driver/framebuffer_ng.h b/src/driver/framebuffer_ng.h index 02c3597bd..deb43f20c 100644 --- a/src/driver/framebuffer_ng.h +++ b/src/driver/framebuffer_ng.h @@ -4,7 +4,7 @@ Copyright (C) 2001 Steffen Hehn 'McClean' Homepage: http://dbox.cyberphoria.org/ - Copyright (C) 2007-2013 Stefan Seyfried + Copyright (C) 2007-2015 Stefan Seyfried License: GPL @@ -258,7 +258,6 @@ class CFrameBuffer void blitBox2FB(const fb_pixel_t* boxBuf, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff); void mark(int x, int y, int dx, int dy); - void paintMuteIcon(bool paint, int ax, int ay, int dx, int dy, bool paintFrame=true); enum {