diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-11-01 18:00:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-11-01 18:00:00 +0100 |
commit | a69b3211dc4f9b34eef440067d5ba304fbfbad94 (patch) | |
tree | 7701ccce8cef832eb5ab56293a7ae99aca40b78e /interface.h | |
parent | a379eb714f7f5ef9a12efbe7588bb3509faba056 (diff) | |
download | vdr-patch-lnbsharing-a69b3211dc4f9b34eef440067d5ba304fbfbad94.tar.gz vdr-patch-lnbsharing-a69b3211dc4f9b34eef440067d5ba304fbfbad94.tar.bz2 |
Version 0.67vdr-0.67
- The EIT information is now gathered in a separate thread.
- The sytem time can now be synchronized to the time broadcast in the DVB data
stream. This can be enabled in the "Setup" menu by setting "SetSystemTime" to
1. Note that this works only if VDR is running under a user id that has
permisson to set the system time.
- The new item "Schedule" in the "Main" menu opens VDR's EPG (thanks to Robert
Schneider). See the MANUAL file for a detailed description.
- The new setup parameters MarginStart and MarginStop define how long (in
minutes) before the official start time of a broadcast VDR shall begin
recording, and how long after the official end time it shall stop recording.
These are used when a recording is programmed from the "Schedules" menu.
- The delay value in the dvb.c.071.diff patch to the driver has been increased
to '3', because on some systems the OSD was not displayed correctly. If you
are running an already patched version 0.71 driver and encounter problems
with the OSD, please make sure the parameter in the ddelay call is '3', not
'2'.
- Fixed initializing the RCU remote control code (didn't work after switching
on the system).
- Problematic characters in recording names (which can come from timers that
are programmed via the "Schedules" menu) are now replaced by suitable
substitutes.
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/interface.h b/interface.h index 8d0f8f6..5dd8ee3 100644 --- a/interface.h +++ b/interface.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: interface.h 1.16 2000/10/08 12:15:49 kls Exp $ + * $Id: interface.h 1.19 2000/11/01 15:27:23 kls Exp $ */ #ifndef __INTERFACE_H @@ -19,6 +19,7 @@ class cInterface { public: enum { MaxCols = 5 }; private: + int width, height; int open; int cols[MaxCols]; eKeys keyFromWait; @@ -33,11 +34,16 @@ public: ~cInterface(); void Open(int NumCols = MenuColumns, int NumLines = MenuLines); void Close(void); + int Width(void) { return width; } + int Height(void) { return height; } eKeys GetKey(bool Wait = true); void PutKey(eKeys Key); void Clear(void); void ClearEol(int x, int y, eDvbColor Color = clrBackground); + void Fill(int x, int y, int w, int h, eDvbColor color = clrBackground); + void Flush(void); void SetCols(int *c); + char *WrapText(const char *Text, int Width, int *Height); void Write(int x, int y, const char *s, eDvbColor FgColor = clrWhite, eDvbColor BgColor = clrBackground); void WriteText(int x, int y, const char *s, eDvbColor FgColor = clrWhite, eDvbColor BgColor = clrBackground); void Title(const char *s); @@ -47,7 +53,7 @@ public: bool Confirm(const char *s); void Help(const char *Red, const char *Green = NULL, const char *Yellow = NULL, const char *Blue = NULL); void LearnKeys(void); - eKeys DisplayChannel(int Number, const char *Name = NULL, bool WithInfo = false); + void DisplayChannelNumber(int Number); void DisplayRecording(int Index, bool On); bool Recording(void); }; |