icons: rename mute.png => muted.png; ...

This icon isn't a button. It signalizes the mute-status. So i renamed it to get the name free for the button icon.


Origin commit data
------------------
Branch: ni/coolstream
Commit: db25f2c0dc
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)

Origin message was:
------------------
- icons: rename mute.png => muted.png; ...

This icon isn't a button. It signalizes the mute-status. So i renamed it to get the name free for the button icon.


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-01-04 16:07:47 +01:00
parent 5b85512435
commit 13652b6f4e
5 changed files with 7 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ install_DATA = \
ats.png \
ats_gray.png \
mounted.png \
mute.png \
muted.png \
not_mounted.png \
rclock.png \
rec.png \

View File

Before

Width:  |  Height:  |  Size: 532 B

After

Width:  |  Height:  |  Size: 532 B

View File

@@ -37,7 +37,7 @@
#include <driver/display.h>
CAudioMute::CAudioMute():CComponentsPicture(0, 0, NEUTRINO_ICON_BUTTON_MUTE)
CAudioMute::CAudioMute():CComponentsPicture(0, 0, NEUTRINO_ICON_MUTED)
{
y_old = -1;
paint_bg = false;

View File

@@ -345,7 +345,7 @@ void CVolumeHelper::initInfoClock(Font* font)
void CVolumeHelper::initMuteIcon()
{
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_MUTE, &mute_dx, &mute_dy);
frameBuffer->getIconSize(NEUTRINO_ICON_MUTED, &mute_dx, &mute_dy);
mute_ax = sw - mute_dx;
mute_ay = y;
}

View File

@@ -113,7 +113,6 @@
#define NEUTRINO_ICON_NETWORK "network"
#define NEUTRINO_ICON_LCD "lcd"
#define NEUTRINO_ICON_VOLUME "volume"
#define NEUTRINO_ICON_RCLOCK "rclock"
#define NEUTRINO_ICON_PERSONALIZE "personalize"
#define NEUTRINO_ICON_STAR_ON "star-on"
#define NEUTRINO_ICON_STAR_OFF "star-off"
@@ -280,6 +279,10 @@
#define NEUTRINO_ICON_PLAY_REPEAT_TRACK "mp_play_repeat_track"
#define NEUTRINO_ICON_REW "mp_b-skip"
/* misc */
#define NEUTRINO_ICON_MUTED "muted"
#define NEUTRINO_ICON_RCLOCK "rclock"
/* opkg manager */
#define NEUTRINO_ICON_CHECKMARK "checkmark"
#define NEUTRINO_ICON_WARNING "warning"