mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
bouqueteditor_channels: use new NEUTRINO_ICON_LOCK_MARKER
Origin commit data
------------------
Commit: 1d50910f8b
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)
Origin message was:
------------------
- bouqueteditor_channels: use new NEUTRINO_ICON_LOCK_MARKER
This commit is contained in:
@@ -67,7 +67,7 @@ CBEChannelWidget::CBEChannelWidget(const std::string & Caption, unsigned int Bou
|
||||
status_icon_width = std::max(status_icon_width, iw);
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_STREAMING, &iw, &ih);
|
||||
status_icon_width = std::max(status_icon_width, iw);
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_LOCK, &iw, &ih);
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_LOCK_MARKER, &iw, &ih);
|
||||
status_icon_width = std::max(status_icon_width, iw);
|
||||
|
||||
}
|
||||
@@ -122,7 +122,7 @@ void CBEChannelWidget::paintItem(int pos)
|
||||
frameBuffer->paintIcon(NEUTRINO_ICON_STREAMING, x + width - SCROLLBAR_WIDTH - OFFSET_INNER_MID - status_icon_width, ypos, item_height);
|
||||
|
||||
if ((*Channels)[current]->bLocked)
|
||||
frameBuffer->paintIcon(NEUTRINO_ICON_LOCK, x + width - SCROLLBAR_WIDTH - 2*OFFSET_INNER_MID - 2*status_icon_width, ypos, item_height);
|
||||
frameBuffer->paintIcon(NEUTRINO_ICON_LOCK_MARKER, x + width - SCROLLBAR_WIDTH - 2*OFFSET_INNER_MID - 2*status_icon_width, ypos, item_height);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user