bouqueteditor_channels - CBEChannelWidget::paintItem: extra color for channels not found in service

Origin commit data
------------------
Commit: f65454c3d4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-04-01 (Tue, 01 Apr 2014)
This commit is contained in:
Jacek Jendrzej
2014-04-01 13:09:17 +02:00
parent be335deef9
commit 25a9841b99

View File

@@ -114,7 +114,10 @@ void CBEChannelWidget::paintItem(int pos)
frameBuffer->paintBoxRel(x,ypos, width- 15, iheight, COL_MENUCONTENT_PLUS_0);
frameBuffer->paintBoxRel(x,ypos, width- 15, iheight, bgcolor, RADIUS_LARGE);
} else {
color = COL_MENUCONTENT_TEXT;
if(current < Channels->size() && ((*Channels)[current]->flags & CZapitChannel::NOT_FOUND ))
color = COL_COLORED_EVENTS_TEXT;// extra color for channels not found in service
else
color = COL_MENUCONTENT_TEXT;
bgcolor = COL_MENUCONTENT_PLUS_0;
frameBuffer->paintBoxRel(x,ypos, width- 15, iheight, bgcolor);
}