infoviewer: rework tuner icons
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2aa3f86330
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-30 (Wed, 30 Dec 2020)
Origin message was:
------------------
- infoviewer: rework tuner icons
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
@@ -31,9 +31,36 @@ install_DATA = \
|
||||
res_uhd.png \
|
||||
subt.png \
|
||||
subt_gray.png \
|
||||
tuner_1.png \
|
||||
tuner_2.png \
|
||||
tuner_3.png \
|
||||
tuner_4.png \
|
||||
vtxt.png \
|
||||
vtxt_gray.png
|
||||
|
||||
install_DATA += \
|
||||
tuner.png \
|
||||
tuner_01.png \
|
||||
tuner_02.png \
|
||||
tuner_03.png \
|
||||
tuner_04.png
|
||||
|
||||
if ! BOXTYPE_CST
|
||||
install_DATA += \
|
||||
tuner_05.png \
|
||||
tuner_06.png \
|
||||
tuner_07.png \
|
||||
tuner_08.png \
|
||||
tuner_09.png \
|
||||
tuner_10.png \
|
||||
tuner_11.png \
|
||||
tuner_12.png \
|
||||
tuner_13.png \
|
||||
tuner_14.png \
|
||||
tuner_15.png \
|
||||
tuner_16.png \
|
||||
tuner_17.png \
|
||||
tuner_18.png \
|
||||
tuner_19.png \
|
||||
tuner_20.png \
|
||||
tuner_21.png \
|
||||
tuner_22.png \
|
||||
tuner_23.png \
|
||||
tuner_24.png
|
||||
endif
|
||||
|
BIN
data/icons/status/channel/tuner.png
Normal file
After Width: | Height: | Size: 219 B |
BIN
data/icons/status/channel/tuner_01.png
Normal file
After Width: | Height: | Size: 207 B |
BIN
data/icons/status/channel/tuner_02.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
data/icons/status/channel/tuner_03.png
Normal file
After Width: | Height: | Size: 238 B |
BIN
data/icons/status/channel/tuner_04.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
data/icons/status/channel/tuner_05.png
Normal file
After Width: | Height: | Size: 229 B |
BIN
data/icons/status/channel/tuner_06.png
Normal file
After Width: | Height: | Size: 221 B |
BIN
data/icons/status/channel/tuner_07.png
Normal file
After Width: | Height: | Size: 235 B |
BIN
data/icons/status/channel/tuner_08.png
Normal file
After Width: | Height: | Size: 242 B |
BIN
data/icons/status/channel/tuner_09.png
Normal file
After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 145 B |
BIN
data/icons/status/channel/tuner_10.png
Normal file
After Width: | Height: | Size: 202 B |
BIN
data/icons/status/channel/tuner_11.png
Normal file
After Width: | Height: | Size: 159 B |
BIN
data/icons/status/channel/tuner_12.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
data/icons/status/channel/tuner_13.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
data/icons/status/channel/tuner_14.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
data/icons/status/channel/tuner_15.png
Normal file
After Width: | Height: | Size: 195 B |
BIN
data/icons/status/channel/tuner_16.png
Normal file
After Width: | Height: | Size: 212 B |
BIN
data/icons/status/channel/tuner_17.png
Normal file
After Width: | Height: | Size: 199 B |
BIN
data/icons/status/channel/tuner_18.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
data/icons/status/channel/tuner_19.png
Normal file
After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 146 B |
BIN
data/icons/status/channel/tuner_20.png
Normal file
After Width: | Height: | Size: 222 B |
BIN
data/icons/status/channel/tuner_21.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
data/icons/status/channel/tuner_22.png
Normal file
After Width: | Height: | Size: 203 B |
BIN
data/icons/status/channel/tuner_23.png
Normal file
After Width: | Height: | Size: 223 B |
BIN
data/icons/status/channel/tuner_24.png
Normal file
After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 182 B |
@@ -210,7 +210,7 @@ void CInfoViewerBB::getBBIconInfo()
|
||||
break;
|
||||
case CInfoViewerBB::ICON_TUNER:
|
||||
if (CFEManager::getInstance()->getEnabledCount() > 1 && g_settings.infobar_show_tuner == 1 && !isTSMode && !IS_WEBCHAN(g_InfoViewer->get_current_channel_id()))
|
||||
iconView = checkBBIcon(NEUTRINO_ICON_TUNER_1, &w, &h);
|
||||
iconView = checkBBIcon(NEUTRINO_ICON_TUNER, &w, &h);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -695,22 +695,13 @@ void CInfoViewerBB::showIcon_Tuner()
|
||||
return;
|
||||
}
|
||||
|
||||
std::string icon_name;
|
||||
switch (CFEManager::getInstance()->getLiveFE()->getNumber()) {
|
||||
case 1:
|
||||
icon_name = NEUTRINO_ICON_TUNER_2;
|
||||
break;
|
||||
case 2:
|
||||
icon_name = NEUTRINO_ICON_TUNER_3;
|
||||
break;
|
||||
case 3:
|
||||
icon_name = NEUTRINO_ICON_TUNER_4;
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
icon_name = NEUTRINO_ICON_TUNER_1;
|
||||
break;
|
||||
}
|
||||
char icon_name[12];
|
||||
snprintf(icon_name, sizeof(icon_name), "%s_%02d", NEUTRINO_ICON_TUNER, CFEManager::getInstance()->getLiveFE()->getNumber() + 1);
|
||||
|
||||
int w = 0, h = 0;
|
||||
if (!checkBBIcon(icon_name, &w, &h))
|
||||
snprintf(icon_name, sizeof(icon_name), "%s", NEUTRINO_ICON_TUNER);
|
||||
|
||||
showBBIcons(CInfoViewerBB::ICON_TUNER, icon_name);
|
||||
}
|
||||
|
||||
|
@@ -275,10 +275,7 @@
|
||||
#define NEUTRINO_ICON_SCRAMBLED2_GREY "ca2_gray"
|
||||
#define NEUTRINO_ICON_SUBT "subt"
|
||||
#define NEUTRINO_ICON_SUBT_GREY "subt_gray"
|
||||
#define NEUTRINO_ICON_TUNER_1 "tuner_1"
|
||||
#define NEUTRINO_ICON_TUNER_2 "tuner_2"
|
||||
#define NEUTRINO_ICON_TUNER_3 "tuner_3"
|
||||
#define NEUTRINO_ICON_TUNER_4 "tuner_4"
|
||||
#define NEUTRINO_ICON_TUNER "tuner"
|
||||
#define NEUTRINO_ICON_VTXT "vtxt"
|
||||
#define NEUTRINO_ICON_VTXT_GREY "vtxt_gray"
|
||||
|
||||
|