mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The 'radio' channel icon is now only displayed in the ST:TNG skin if the channel actually has an APID
This commit is contained in:
parent
1d1d202eef
commit
bee9f13024
2
HISTORY
2
HISTORY
@ -2964,3 +2964,5 @@ Video Disk Recorder Revision History
|
|||||||
- Now storing the name of the service provider (aka "bouquet") in the channel
|
- Now storing the name of the service provider (aka "bouquet") in the channel
|
||||||
name, separated by a semicolon (see man vdr(5) for details). Explicit usage
|
name, separated by a semicolon (see man vdr(5) for details). Explicit usage
|
||||||
of the various parts of the channel name is yet to come.
|
of the various parts of the channel name is yet to come.
|
||||||
|
- The 'radio' channel icon is now only displayed in the ST:TNG skin if the channel
|
||||||
|
actually has an APID.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: skinsttng.c 1.5 2004/05/31 14:09:00 kls Exp $
|
* $Id: skinsttng.c 1.6 2004/07/18 11:32:42 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Star Trek: The Next Generation® is a registered trademark of Paramount Pictures
|
// Star Trek: The Next Generation® is a registered trademark of Paramount Pictures
|
||||||
@ -240,7 +240,7 @@ void cSkinSTTNGDisplayChannel::SetChannel(const cChannel *Channel, int Number)
|
|||||||
x -= bmTeletext.Width() + d;
|
x -= bmTeletext.Width() + d;
|
||||||
osd->DrawBitmap(x, y0 + (y1 - y0 - bmTeletext.Height()) / 2, bmTeletext, Theme.Color(Channel->Tpid() ? clrChannelSymbolOn : clrChannelSymbolOff), frameColor);
|
osd->DrawBitmap(x, y0 + (y1 - y0 - bmTeletext.Height()) / 2, bmTeletext, Theme.Color(Channel->Tpid() ? clrChannelSymbolOn : clrChannelSymbolOff), frameColor);
|
||||||
}
|
}
|
||||||
else {
|
else if (Channel->Apid1()) {
|
||||||
x -= bmRadio.Width() + d;
|
x -= bmRadio.Width() + d;
|
||||||
osd->DrawBitmap(x, y0 + (y1 - y0 - bmRadio.Height()) / 2, bmRadio, Theme.Color(clrChannelSymbolOn), frameColor);
|
osd->DrawBitmap(x, y0 + (y1 - y0 - bmRadio.Height()) / 2, bmRadio, Theme.Color(clrChannelSymbolOn), frameColor);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user