mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed drawing the live indicator in the LCARS skin in case there are no devices
This commit is contained in:
parent
caf708b618
commit
ebdac2ddfc
1
HISTORY
1
HISTORY
@ -8223,3 +8223,4 @@ Video Disk Recorder Revision History
|
|||||||
will initially be positioned to the last replayed recording again when the menu
|
will initially be positioned to the last replayed recording again when the menu
|
||||||
is opened.
|
is opened.
|
||||||
- Updated the Finnish OSD texts (thanks to Antti Hartikainen).
|
- Updated the Finnish OSD texts (thanks to Antti Hartikainen).
|
||||||
|
- Fixed drawing the live indicator in the LCARS skin in case there are no devices.
|
||||||
|
@ -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: skinlcars.c 3.6 2013/11/16 13:20:19 kls Exp $
|
* $Id: skinlcars.c 3.7 2014/03/10 12:04:06 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
|
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
|
||||||
@ -1361,7 +1361,7 @@ void cSkinLCARSDisplayMenu::DrawLiveIndicator(void)
|
|||||||
if (initial || y != lastLiveIndicatorY || Transferring != lastLiveIndicatorTransferring) {
|
if (initial || y != lastLiveIndicatorY || Transferring != lastLiveIndicatorTransferring) {
|
||||||
if (lastLiveIndicatorY >= 0)
|
if (lastLiveIndicatorY >= 0)
|
||||||
osd->DrawRectangle(xs12, lastLiveIndicatorY, xs13 - 1, lastLiveIndicatorY + lineHeight - 1, Theme.Color(clrBackground));
|
osd->DrawRectangle(xs12, lastLiveIndicatorY, xs13 - 1, lastLiveIndicatorY + lineHeight - 1, Theme.Color(clrBackground));
|
||||||
if (y >= 0) {
|
if (y > 0) {
|
||||||
tColor ColorBg = Theme.Color(clrChannelFrameBg);
|
tColor ColorBg = Theme.Color(clrChannelFrameBg);
|
||||||
osd->DrawRectangle(xs12, y, xs12 + lineHeight / 2 - 1, y + lineHeight - 1, ColorBg);
|
osd->DrawRectangle(xs12, y, xs12 + lineHeight / 2 - 1, y + lineHeight - 1, ColorBg);
|
||||||
osd->DrawEllipse (xs12 + lineHeight / 2, y, xs13 - 1, y + lineHeight - 1, ColorBg, 5);
|
osd->DrawEllipse (xs12 + lineHeight / 2, y, xs13 - 1, y + lineHeight - 1, ColorBg, 5);
|
||||||
|
Loading…
Reference in New Issue
Block a user