mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user