mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
bouquetlist: use new marker icons
Origin commit data
------------------
Commit: 59b1c42152
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)
Origin message was:
------------------
- bouquetlist: use new marker icons
This commit is contained in:
@@ -684,19 +684,19 @@ void CBouquetList::paintItem(int pos)
|
||||
int iw = 0, ih = 0;
|
||||
if ((g_settings.epg_scan == CEpgScan::SCAN_SEL) &&
|
||||
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) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
if (Bouquets[npos]->zapitBouquet && Bouquets[npos]->zapitBouquet->bUseCI) {
|
||||
int iw2 = 0;
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_SCRAMBLED, &iw2, &ih);
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_MARKER_SCRAMBLED, &iw2, &ih);
|
||||
if (iw2 && ih) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user