mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
- bouquetlist: use new marker icons
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -674,19 +674,19 @@ void CBouquetList::paintItem(int pos)
|
|||||||
int iw = 0, ih = 0;
|
int iw = 0, ih = 0;
|
||||||
if ((g_settings.epg_scan == CEpgScan::SCAN_SEL) &&
|
if ((g_settings.epg_scan == CEpgScan::SCAN_SEL) &&
|
||||||
Bouquets[npos]->zapitBouquet && Bouquets[npos]->zapitBouquet->bScanEpg) {
|
Bouquets[npos]->zapitBouquet && Bouquets[npos]->zapitBouquet->bScanEpg) {
|
||||||
frameBuffer->getIconSize(NEUTRINO_ICON_EPG, &iw, &ih);
|
frameBuffer->getIconSize(NEUTRINO_ICON_MARKER_EPG, &iw, &ih);
|
||||||
if (iw && ih) {
|
if (iw && ih) {
|
||||||
int icon_x = x + width - SCROLLBAR_WIDTH - OFFSET_INNER_MID - iw;
|
int icon_x = x + width - SCROLLBAR_WIDTH - OFFSET_INNER_MID - iw;
|
||||||
frameBuffer->paintIcon(NEUTRINO_ICON_EPG, icon_x, ypos, item_height);
|
frameBuffer->paintIcon(NEUTRINO_ICON_MARKER_EPG, icon_x, ypos, item_height);
|
||||||
iw = iw + OFFSET_INNER_MID;
|
iw = iw + OFFSET_INNER_MID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Bouquets[npos]->zapitBouquet && Bouquets[npos]->zapitBouquet->bUseCI) {
|
if (Bouquets[npos]->zapitBouquet && Bouquets[npos]->zapitBouquet->bUseCI) {
|
||||||
int iw2 = 0;
|
int iw2 = 0;
|
||||||
frameBuffer->getIconSize(NEUTRINO_ICON_SCRAMBLED, &iw2, &ih);
|
frameBuffer->getIconSize(NEUTRINO_ICON_MARKER_SCRAMBLED, &iw2, &ih);
|
||||||
if (iw2 && ih) {
|
if (iw2 && ih) {
|
||||||
int icon_x = x + width - SCROLLBAR_WIDTH - OFFSET_INNER_MID - iw - iw2;
|
int icon_x = x + width - SCROLLBAR_WIDTH - OFFSET_INNER_MID - iw - iw2;
|
||||||
frameBuffer->paintIcon(NEUTRINO_ICON_SCRAMBLED, icon_x, ypos, item_height);
|
frameBuffer->paintIcon(NEUTRINO_ICON_MARKER_SCRAMBLED, icon_x, ypos, item_height);
|
||||||
iw = iw + iw2 + OFFSET_INNER_MID;
|
iw = iw + iw2 + OFFSET_INNER_MID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user