mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Version 0.90
- Modified the display of the channel group separators (thanks to Markus Lang for this suggestion). - Added support for replaying DVDs (thanks to Andreas Schultz). See INSTALL for instructions on how to compile VDR with DVD support. - Fixed replay progress display in case replay is paused while watching an ongoing recording. - Ringbuffer uses semaphores to signal empty/full conditions. - Fixed calculating the timeout value in cFile::FileReady() (thanks to Wolfgang Henselmann-Weiss).
This commit is contained in:
9
osd.h
9
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.22 2001/07/27 11:33:30 kls Exp $
|
||||
* $Id: osd.h 1.23 2001/08/02 13:48:34 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __OSD_H
|
||||
@@ -27,6 +27,7 @@ enum eOSState { osUnknown,
|
||||
osCommands,
|
||||
osRecord,
|
||||
osReplay,
|
||||
osDVD,
|
||||
osStopRecord,
|
||||
osStopReplay,
|
||||
osCancelEdit,
|
||||
@@ -43,7 +44,7 @@ private:
|
||||
protected:
|
||||
bool fresh;
|
||||
bool userColor;
|
||||
eDvbColor fgColor, bgColor;
|
||||
eDvbColor fgColor, bgColor;
|
||||
public:
|
||||
cOsdItem(eOSState State = osUnknown);
|
||||
cOsdItem(const char *Text, eOSState State = osUnknown);
|
||||
@@ -55,7 +56,7 @@ public:
|
||||
virtual void Display(int Offset = -1, eDvbColor FgColor = clrWhite, eDvbColor BgColor = clrBackground);
|
||||
virtual void Set(void) {}
|
||||
virtual eOSState ProcessKey(eKeys Key);
|
||||
};
|
||||
};
|
||||
|
||||
class cOsdBase {
|
||||
protected:
|
||||
@@ -67,7 +68,7 @@ public:
|
||||
int Height(void) { return Interface->Height(); }
|
||||
bool NeedsFastResponse(void) { return needsFastResponse; }
|
||||
virtual eOSState ProcessKey(eKeys Key) = 0;
|
||||
};
|
||||
};
|
||||
|
||||
class cOsdMenu : public cOsdBase, public cList<cOsdItem> {
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user