diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-09-10 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-09-10 18:00:00 +0200 |
commit | 76c331181a23f97d5e3f2b55c4741ef4e521242d (patch) | |
tree | 2653e97d41826894c9950c8a0ee798667aca9c9c /osd.h | |
parent | 48fea259ae5ed3ac19bcc4152341252b9df39128 (diff) | |
download | vdr-patch-lnbsharing-76c331181a23f97d5e3f2b55c4741ef4e521242d.tar.gz vdr-patch-lnbsharing-76c331181a23f97d5e3f2b55c4741ef4e521242d.tar.bz2 |
Version 0.63vdr-0.63
- The new "Setup" menu allows the user to configure several parameters to his/her
personal taste (see MANUAL for details).
- Workaround for a driver timing problem in cDvbApi::Cmd(), which sometimes caused
the OSD to no longer be displayed (thanks to Niels de Carpentier).
- Added the '-m486' option to the compiler call.
- If a channel name contains a colon (':') it is now replaced with a '|' in
channels.conf.
- Not everybody appears to like the "page scrolling" mechanism introduced by
Heino Goldenstein in version 0.61, so this is now configurable via the "Setup"
menu.
- The new 'dvbrc2vdr' tool (thanks to Plamen Ganev!) can be used to convert
'dvbrc' channel files into 'vdr' format.
- Channels can now be "grouped" (thanks to Plamen Ganev!). See MANUAL for details.
There is currently no mechanism to define and maintain "Channel groups" via
the menu, so you'll have to insert "Channel group" control lines into your
'channels.conf' file manually (for example with a text editor).
- Started a new file named FORMATS with a description of the various file
formats used by VDR.
- The "Primary DVB interface" can now be chosen via the "Setup" menu.
- Display of the "current/next" information when switching channels can now
be disabled via the "Setup" menu.
- The "current/next" display now only shows those lines that actually contain
information.
- When directly selecting a channel by entering the channel number, the digits
entered so far together with the name of that channel are displayed on the
OSD (suggested by Martin Hammerschmid).
Diffstat (limited to 'osd.h')
-rw-r--r-- | osd.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.h 1.9 2000/05/27 15:35:41 kls Exp $ + * $Id: osd.h 1.11 2000/09/10 09:50:38 kls Exp $ */ #ifndef __OSD_H @@ -22,10 +22,12 @@ enum eOSState { osUnknown, osChannels, osTimer, osRecordings, + osSetup, osRecord, osReplay, osStopRecord, osStopReplay, + osSwitchDvb, osBack, osEnd, }; @@ -37,13 +39,17 @@ private: eOSState state; protected: bool fresh; + bool userColor; + eDvbColor fgColor, bgColor; public: cOsdItem(eOSState State = osUnknown); cOsdItem(char *Text, eOSState State = osUnknown); virtual ~cOsdItem(); + bool HasUserColor(void) { return userColor; } void SetText(const char *Text, bool Copy = true); + void SetColor(eDvbColor FgColor, eDvbColor BgColor = clrBackground); const char *Text(void) { return text; } - void Display(int Offset = -1, bool Current = false); + void Display(int Offset = -1, eDvbColor FgColor = clrWhite, eDvbColor BgColor = clrBackground); virtual void Set(void) {} virtual eOSState ProcessKey(eKeys Key); }; @@ -68,6 +74,7 @@ private: const char *status; protected: bool visible; + bool SpecialItem(int idx); void RefreshCurrent(void); void DisplayCurrent(bool Current); void CursorUp(void); |