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

This commit is contained in:
Jacek Jendrzej
2014-04-01 13:09:17 +02:00
parent b61acdb28c
commit f65454c3d4

View File

@@ -114,6 +114,9 @@ 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 {
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);