From ef8fe3f04c30caedeb17b11ac275581539f039c7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 3 Oct 2000 18:00:00 +0200 Subject: Version 0.65 - Modified LIRC interface to better handle repeat function. - Faster OSD by first writing into a bitmap and then sending the entire bitmap to the DVB driver at once (requires the patch 'dvb.c.071.diff' to be applied against the version 0.71 DVB driver file 'dvb.c'). - When switching channels the channel is now immediately displayed, and the current/next information is shown as soon as it becomes available. - No longer displaying the year in the 'Recordings' menu to saves space for the title. - The 'Recordings' menu now displays a '*' to indicate new recordings. - Added the description of the timers.conf file to the FORMATS file (thanks to Bastian Guse). - Displaying as much as possible of the current/next info (dropping characters that would display only partially). - In normal viewing mode the '0' key now toggles between the current and the previous channel. --- menu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 114ea7e..1f5fd88 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.27 2000/09/11 21:13:46 kls Exp $ + * $Id: menu.c 1.30 2000/10/03 14:06:44 kls Exp $ */ #include "menu.h" @@ -985,7 +985,7 @@ cMenuRecordingItem::cMenuRecordingItem(cRecording *Recording) void cMenuRecordingItem::Set(void) { - SetText(recording->Title('\t')); + SetText(recording->Title('\t', true)); } // --- cMenuRecordings ------------------------------------------------------- @@ -1002,7 +1002,7 @@ public: }; cMenuRecordings::cMenuRecordings(void) -:cOsdMenu("Recordings", 9, 6) +:cOsdMenu("Recordings", 6, 6) { if (Recordings.Load()) { cRecording *recording = Recordings.First(); @@ -1186,7 +1186,7 @@ cDirectChannelSelect::~cDirectChannelSelect() eOSState cDirectChannelSelect::ProcessKey(eKeys Key) { switch (Key) { - case k0: case k1: case k2: case k3: case k4: case k5: case k6: case k7: case k8: case k9: + case k0 ... k9: if (number >= 0) { number = number * 10 + Key - k0; cChannel *channel = Channels.GetByNumber(number); -- cgit v1.2.3