mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added cOsd::OpenRaw() to create a raw OSD (needed for displaying SPUs) (con't, fix in case of DEBUG_OSD)
This commit is contained in:
parent
8be5a7b7b2
commit
562dbb818b
6
osd.c
6
osd.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: osd.c 1.30 2002/07/13 12:46:30 kls Exp $
|
* $Id: osd.c 1.31 2002/07/14 11:05:30 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
@ -70,7 +70,11 @@ void cOsd::SetColor(eDvbColor colorFg, eDvbColor colorBg)
|
|||||||
|
|
||||||
cOsdBase *cOsd::OpenRaw(int x, int y)
|
cOsdBase *cOsd::OpenRaw(int x, int y)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG_OSD
|
||||||
|
return NULL;
|
||||||
|
#else
|
||||||
return osd ? NULL : new cDvbOsd(cDevice::PrimaryDevice()->OsdDeviceHandle(), x, y);
|
return osd ? NULL : new cDvbOsd(cDevice::PrimaryDevice()->OsdDeviceHandle(), x, y);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void cOsd::Open(int w, int h)
|
void cOsd::Open(int w, int h)
|
||||||
|
Loading…
Reference in New Issue
Block a user