diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-04-13 13:02:53 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-04-13 13:02:53 +0200 |
commit | c7c6394e10817933a427660d78002c541b578c1a (patch) | |
tree | c51be99c01d28f867cfa940616de44dcfd2054bf | |
parent | fc3ac12d392fe65b5fe8f8fee0482450cf2b5dc2 (diff) | |
download | vdr-c7c6394e10817933a427660d78002c541b578c1a.tar.gz vdr-c7c6394e10817933a427660d78002c541b578c1a.tar.bz2 |
Fixed setting the OSD level in the 'osddemo' example
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | PLUGINS/src/osddemo/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/osddemo/osddemo.c | 6 |
4 files changed, 9 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e83cd925..084f100f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1708,6 +1708,7 @@ Wolfgang Rohdewald <wolfgang@rohdewald.de> Channel+ or Channel- is pressed for pointing out a possible problem with asprintf() if the return value is not checked + for fixing setting the OSD level in the 'osddemo' example Chad Flynt <hoochster@sofnet.com> for suggestions and experiments regarding the buffer reserve in cTransfer @@ -5747,6 +5747,7 @@ Video Disk Recorder Revision History Ahrenberg). - Fixed initializing the timer's flags in the cTimer copy constructor (thanks to Andreas Mair). +- Fixed setting the OSD level in the 'osddemo' example (thanks to Wolfgang Rohdewald). 2008-04-13: Version 1.6.0-1 diff --git a/PLUGINS/src/osddemo/HISTORY b/PLUGINS/src/osddemo/HISTORY index b0f300a4..4217cb1e 100644 --- a/PLUGINS/src/osddemo/HISTORY +++ b/PLUGINS/src/osddemo/HISTORY @@ -17,3 +17,7 @@ VDR Plugin 'osddemo' Revision History - Moved the "all" target in the Makefile before the "Implicit rules", so that a plain "make" will compile everything. + +2008-04-13: Version 0.1.3 + +- Fixed setting the OSD level (thanks to Wolfgang Rohdewald). diff --git a/PLUGINS/src/osddemo/osddemo.c b/PLUGINS/src/osddemo/osddemo.c index a4c0b8f8..2a9e09a6 100644 --- a/PLUGINS/src/osddemo/osddemo.c +++ b/PLUGINS/src/osddemo/osddemo.c @@ -3,12 +3,12 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: osddemo.c 1.4 2007/08/15 13:17:55 kls Exp $ + * $Id: osddemo.c 2.1 2008/04/13 12:59:57 kls Exp $ */ #include <vdr/plugin.h> -static const char *VERSION = "0.1.2"; +static const char *VERSION = "0.1.3"; static const char *DESCRIPTION = "Demo of arbitrary OSD setup"; static const char *MAINMENUENTRY = "Osd Demo"; @@ -41,7 +41,7 @@ cLineGame::~cLineGame() void cLineGame::Show(void) { - osd = cOsdProvider::NewOsd(100, 50); + osd = cOsdProvider::NewOsd(100, 50, 50); if (osd) { tArea Area = { 0, 0, 99, 199, 4 }; osd->SetAreas(&Area, 1); |