mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Version 0.05
- Support for more than one DVB card. - Simultaneous record and replay (with two DVB cards). - Instant recordings no longer get the name "instant". They now get the name of the channel, with a prepended '@' character. - Timers that are not given an explicit Name now use the channel name with a prepended '@' character. - If an instant recording is currently active, the Main menu now contains an option to stop that recording. - Timers are now only processed when the Menu is not active. So after editing a timer the effect will take place only after the menu has been closed. In order to avoid missing a timer event by inadvertently leaving the menu open, the menu will be closed automatically after about two minutes of inactivity. - If a recording is currently being replayed, the Main menu now contains an option to stop replaying. - Displaying the recording DVB interface status in the decimal points of the RCU display. - Reduced the number of remote control keys. Modified the key assignments for the PC keyboard to better resemble the "up-down-left-right-ok" layout on menu controlling remote control units.
This commit is contained in:
20
osd.h
20
osd.h
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: osd.h 1.4 2000/04/24 09:44:32 kls Exp $
|
||||
* $Id: osd.h 1.9 2000/05/27 15:35:41 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __OSD_H
|
||||
@@ -17,11 +17,15 @@
|
||||
#define MAXOSDITEMS 9
|
||||
|
||||
enum eOSState { osUnknown,
|
||||
osMenu,
|
||||
osContinue,
|
||||
osProcessed,
|
||||
osChannels,
|
||||
osTimer,
|
||||
osRecordings,
|
||||
osRecord,
|
||||
osReplay,
|
||||
osStopRecord,
|
||||
osStopReplay,
|
||||
osBack,
|
||||
osEnd,
|
||||
};
|
||||
@@ -44,7 +48,17 @@ public:
|
||||
virtual eOSState ProcessKey(eKeys Key);
|
||||
};
|
||||
|
||||
class cOsdMenu : public cList<cOsdItem> {
|
||||
class cOsdBase {
|
||||
protected:
|
||||
bool needsFastResponse;
|
||||
public:
|
||||
cOsdBase(bool FastResponse = false) { needsFastResponse = FastResponse; }
|
||||
virtual ~cOsdBase() {}
|
||||
virtual eOSState ProcessKey(eKeys Key) = 0;
|
||||
bool NeedsFastResponse(void) { return needsFastResponse; }
|
||||
};
|
||||
|
||||
class cOsdMenu : public cOsdBase, public cList<cOsdItem> {
|
||||
private:
|
||||
char *title;
|
||||
int cols[cInterface::MaxCols];
|
||||
|
||||
Reference in New Issue
Block a user