mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
framebuffer_ng: remove obsolete paintMuteIcon()
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user