mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
framebuffer_ng: remove obsolete paintMuteIcon()
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
2003 thegoodguy
|
2003 thegoodguy
|
||||||
Copyright (C) 2007-2013 Stefan Seyfried
|
Copyright (C) 2007-2015 Stefan Seyfried
|
||||||
|
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
@@ -1269,21 +1269,6 @@ void CFrameBuffer::displayRGB(unsigned char *rgbbuff, int x_size, int y_size, in
|
|||||||
cs_free_uncached(fbbuff);
|
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)
|
void CFrameBuffer::setFbArea(int element, int _x, int _y, int _dx, int _dy)
|
||||||
{
|
{
|
||||||
if (_x == 0 && _y == 0 && _dx == 0 && _dy == 0) {
|
if (_x == 0 && _y == 0 && _dx == 0 && _dy == 0) {
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||||
Homepage: http://dbox.cyberphoria.org/
|
Homepage: http://dbox.cyberphoria.org/
|
||||||
|
|
||||||
Copyright (C) 2007-2013 Stefan Seyfried
|
Copyright (C) 2007-2015 Stefan Seyfried
|
||||||
|
|
||||||
License: GPL
|
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 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 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
|
enum
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user