mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Displaying '-' when directly switching channels; increased timeout for direct channel switching
This commit is contained in:
parent
9efef9e89e
commit
145d376ec1
4
HISTORY
4
HISTORY
@ -544,3 +544,7 @@ Video Disk Recorder Revision History
|
|||||||
- No longer sending a Diseqc command if the Diseqc value for a given channel
|
- No longer sending a Diseqc command if the Diseqc value for a given channel
|
||||||
is '0'. Previously this caused problems with some multi-switches (thanks to
|
is '0'. Previously this caused problems with some multi-switches (thanks to
|
||||||
Markus Lang and Ulrich Röder).
|
Markus Lang and Ulrich Röder).
|
||||||
|
- When switching channels by entering the channel number via the numeric keys
|
||||||
|
on the remote control, the channel number displayed is now followed by the
|
||||||
|
'-' character to indicate that additional digits can be entered.
|
||||||
|
- Increased the timeout for numeric channel switching from 500ms to 1s.
|
||||||
|
2
MANUAL
2
MANUAL
@ -100,7 +100,7 @@ Video Disk Recorder User's Manual
|
|||||||
and browse through the list with the "Up" and "Down" key; to switch to the
|
and browse through the list with the "Up" and "Down" key; to switch to the
|
||||||
selected channel press "Ok".
|
selected channel press "Ok".
|
||||||
3. Directly type in the channel number with the numeric keys ('0'..'9');
|
3. Directly type in the channel number with the numeric keys ('0'..'9');
|
||||||
if no key is pressed for about half a second, the digits collected so
|
if no key is pressed for about one second, the digits collected so
|
||||||
far will define the channel number.
|
far will define the channel number.
|
||||||
4. From the "Now", "Next" and "Event" menus (accessible through the "Schedule"
|
4. From the "Now", "Next" and "Event" menus (accessible through the "Schedule"
|
||||||
menu) by pressing the "Blue" button.
|
menu) by pressing the "Blue" button.
|
||||||
|
6
menu.c
6
menu.c
@ -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: menu.c 1.75 2001/06/23 13:38:54 kls Exp $
|
* $Id: menu.c 1.76 2001/07/12 14:16:43 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -1789,7 +1789,7 @@ eOSState cMenuMain::ProcessKey(eKeys Key)
|
|||||||
|
|
||||||
// --- cDisplayChannel -------------------------------------------------------
|
// --- cDisplayChannel -------------------------------------------------------
|
||||||
|
|
||||||
#define DIRECTCHANNELTIMEOUT 500 //ms
|
#define DIRECTCHANNELTIMEOUT 1000 //ms
|
||||||
#define INFOTIMEOUT 5000 //ms
|
#define INFOTIMEOUT 5000 //ms
|
||||||
|
|
||||||
cDisplayChannel::cDisplayChannel(int Number, bool Switched, bool Group)
|
cDisplayChannel::cDisplayChannel(int Number, bool Switched, bool Group)
|
||||||
@ -1832,7 +1832,7 @@ void cDisplayChannel::DisplayChannel(const cChannel *Channel)
|
|||||||
int BufSize = Width() + 1;
|
int BufSize = Width() + 1;
|
||||||
char buffer[BufSize];
|
char buffer[BufSize];
|
||||||
if (Channel && Channel->number)
|
if (Channel && Channel->number)
|
||||||
snprintf(buffer, BufSize, "%d %s", Channel->number, Channel->name);
|
snprintf(buffer, BufSize, "%d%s %s", Channel->number, number ? "-" : "", Channel->name);
|
||||||
else
|
else
|
||||||
snprintf(buffer, BufSize, "%s", Channel ? Channel->name : tr("*** Invalid Channel ***"));
|
snprintf(buffer, BufSize, "%s", Channel ? Channel->name : tr("*** Invalid Channel ***"));
|
||||||
Interface->Fill(0, 0, MenuColumns, 1, clrBackground);
|
Interface->Fill(0, 0, MenuColumns, 1, clrBackground);
|
||||||
|
Loading…
Reference in New Issue
Block a user