From be69684051e0a9dd6d92b0396990aa80220ea040 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 19 Mar 2013 18:24:11 +0100 Subject: Added Channel Number in Channel Menu --- HISTORY | 3 +++ menuitem.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 8e78627..8b7af1e 100644 --- a/HISTORY +++ b/HISTORY @@ -165,3 +165,6 @@ Version 0.1.1 - Main menu title style configurable - Maximum number of timers in main menu configurable - Added alternative main menu header icons (thanks @BooStar) +- Display grapical progress bar in every default style VDR menu, fixed + progress bar detection +- Added Channel Number in Channel Menu diff --git a/menuitem.c b/menuitem.c index 0aba919..ce09535 100644 --- a/menuitem.c +++ b/menuitem.c @@ -572,7 +572,7 @@ void cNopacityChannelMenuItem::CreatePixmapTextScroller(int totalWidth) { } void cNopacityChannelMenuItem::CreateText() { - strEntry = Channel->Name(); + strEntry = cString::sprintf("%d %s", Channel->Number(), Channel->Name()); const cSource *source = Sources.Get(Channel->Source()); if (source) strChannelSource = cString::sprintf("%s - %s", *cSource::ToString(source->Code()), source->Description()); -- cgit v1.2.3