summaryrefslogtreecommitdiff
path: root/skinclassic.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-01-03 12:20:37 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-01-03 12:20:37 +0100
commit56627cd12d9e01379d9104300fec837a4db8df48 (patch)
tree3a3029da935dfef7b4edee8be35c11cd83e281d5 /skinclassic.c
parent4b5f232e59988e5c043b08210c3940a5bf82b360 (diff)
downloadvdr-56627cd12d9e01379d9104300fec837a4db8df48.tar.gz
vdr-56627cd12d9e01379d9104300fec837a4db8df48.tar.bz2
Implemented handling the "Content Descriptor"
Diffstat (limited to 'skinclassic.c')
-rw-r--r--skinclassic.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/skinclassic.c b/skinclassic.c
index 6c36278b..29486cb5 100644
--- a/skinclassic.c
+++ b/skinclassic.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinclassic.c 1.27 2008/02/23 10:31:58 kls Exp $
+ * $Id: skinclassic.c 2.1 2010/01/03 11:28:24 kls Exp $
*/
#include "skinclassic.h"
@@ -353,6 +353,14 @@ void cSkinClassicDisplayMenu::SetEvent(const cEvent *Event)
ts.Set(osd, x1, y, x2 - x1, y3 - y, Event->ShortText(), font, Theme.Color(clrMenuEventShortText), Theme.Color(clrBackground));
y += ts.Height();
}
+ for (int i = 0; Event->Contents(i); i++) {
+ const char *s = Event->ContentToString(Event->Contents(i));
+ if (!isempty(s)) {
+ const cFont *font = cFont::GetFont(fontSml);
+ ts.Set(osd, x1, y, x2 - x1, y3 - y, s, font, Theme.Color(clrMenuEventShortText), Theme.Color(clrBackground));
+ y += ts.Height();
+ }
+ }
y += font->Height();
if (!isempty(Event->Description())) {
textScroller.Set(osd, x1, y, x2 - x1, y3 - y, Event->Description(), font, Theme.Color(clrMenuEventDescription), Theme.Color(clrBackground));