- 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.

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-01-05 00:52:58 +01:00
committed by Thilo Graf
parent 0cac1e8b05
commit 9bb0e45fce
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: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

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

@@ -111,7 +111,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"
@@ -273,6 +272,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"