diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-25 09:36:09 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-25 09:36:09 +0200 |
commit | c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932 (patch) | |
tree | aef8dad67f4e01f6655e0e189af7af1576e038af /device.h | |
parent | df5be87dc3aa8a94990dcc387729c551fb14a3db (diff) | |
download | vdr-c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932.tar.gz vdr-c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932.tar.bz2 |
Added cDevice::NewOsd() to allow a derived cDevice class to implement its own OSD capabilities
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 1.9 2002/08/16 08:52:27 kls Exp $ + * $Id: device.h 1.10 2002/08/25 09:16:34 kls Exp $ */ #ifndef __DEVICE_H @@ -43,6 +43,7 @@ enum ePlayMode { pmNone, // audio/video from decoder // KNOWN TO YOUR PLAYER. }; +class cOsdBase; class cChannel; class cPlayer; class cReceiver; @@ -129,6 +130,16 @@ public: virtual bool HasDecoder(void) const; // Tells whether this device has an MPEG decoder. +// OSD facilities + +public: + virtual cOsdBase *NewOsd(int x, int y); + // Creates a new cOsdBase object that can be used by the cOsd class + // to display information on the screen, with the upper left corner + // of the OSD at the given coordinates. If a derived cDevice doesn't + // implement this function, NULL will be returned by default (which + // means the device has no OSD capabilities). + // Channel facilities protected: |