summaryrefslogtreecommitdiff
path: root/skinsttng.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-08 10:15:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-08 10:15:30 +0100
commitec27c329cfeacf4687197f637d6abddd6fed25a8 (patch)
tree2ace8b248f6da329a1f7621d42c1444c61cb74a2 /skinsttng.c
parent64623e762b0d0ed28f6079ba814511274f5fb428 (diff)
downloadvdr-ec27c329cfeacf4687197f637d6abddd6fed25a8.tar.gz
vdr-ec27c329cfeacf4687197f637d6abddd6fed25a8.tar.bz2
Displaying audio track description in channel display
Diffstat (limited to 'skinsttng.c')
-rw-r--r--skinsttng.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/skinsttng.c b/skinsttng.c
index 8ae0180a..a229838f 100644
--- a/skinsttng.c
+++ b/skinsttng.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinsttng.c 1.10 2005/01/02 14:41:49 kls Exp $
+ * $Id: skinsttng.c 1.11 2005/01/08 10:15:00 kls Exp $
*/
// Star Trek: The Next Generation® is a registered trademark of Paramount Pictures
@@ -265,6 +265,9 @@ void cSkinSTTNGDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Fo
osd->DrawText(x3 + 2, y3 + (2 * i + 1) * lineHeight, e->ShortText(), Theme.Color(clrChannelEpgShortText), Theme.Color(clrBackground), cFont::GetFont(fontSml), x4 - x3 - 2);
}
}
+ cDevice *Device = cDevice::PrimaryDevice();
+ const tTrackId *Track = Device->GetTrack(Device->GetCurrentAudioTrack());
+ osd->DrawText(x3 + 2, y6, Track ? Track->description : "", Theme.Color(clrChannelName), frameColor, cFont::GetFont(fontSml), x4 - x3 - 2);
}
void cSkinSTTNGDisplayChannel::SetMessage(eMessageType Type, const char *Text)