From 35cc187a3d0d37e80b1d92c73e7c355d663541c5 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 4 Jan 2018 00:59:13 +0100 Subject: [PATCH] bouqueteditor_channels: use new NEUTRINO_ICON_LOCK_MARKER Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1d50910f8bcc68f0da36c18d4e4ca57e12ef1bee Author: vanhofen Date: 2018-01-04 (Thu, 04 Jan 2018) Origin message was: ------------------ - bouqueteditor_channels: use new NEUTRINO_ICON_LOCK_MARKER --- src/gui/bedit/bouqueteditor_channels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index ab7679a8d..a29335af5 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -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); } }