mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed missing '&' in the SetAreas() example in PLUGINS.html
This commit is contained in:
parent
52f17c043b
commit
fdfcfc021b
@ -793,6 +793,7 @@ Sascha Volkenandt <sascha@akv-soft.de>
|
||||
being written to by a timer
|
||||
for fixing a crash in cConfig::Load() when compiling on the PPC
|
||||
for reporting '\n' in an esyslog() call in osd.c
|
||||
for reporting missing '&' in the SetAreas() example in PLUGINS.html
|
||||
|
||||
Malcolm Caldwell <malcolm.caldwell@ntu.edu.au>
|
||||
for modifying LOF handling to allow for C-band reception
|
||||
|
2
HISTORY
2
HISTORY
@ -3920,3 +3920,5 @@ Video Disk Recorder Revision History
|
||||
- A menu is no longer automatically closed when a replay ends (reported by
|
||||
Marko Mäkelä).
|
||||
- Removed '\n' from several syslog() calls (reported by Sascha Volkenandt).
|
||||
- Fixed missing '&' in the SetAreas() example in PLUGINS.html (reported by
|
||||
Sascha Volkenandt).
|
||||
|
@ -1476,7 +1476,7 @@ yet, so you need to at least call the function
|
||||
|
||||
<p><table><tr><td bgcolor=#F0F0F0><pre>
|
||||
tArea Area = { 0, 0, 100, 100, 4 };
|
||||
MyOsd->SetAreas(Area, 1);
|
||||
MyOsd->SetAreas(&Area, 1);
|
||||
</pre></td></tr></table><p>
|
||||
|
||||
to define an actual OSD drawing area (see VDR/osd.h for the declarations
|
||||
@ -1496,7 +1496,7 @@ sub-areas with different color depths and separate color palettes, as in
|
||||
<p><table><tr><td bgcolor=#F0F0F0><pre>
|
||||
tArea Area = { 0, 0, 99, 99, 4 };
|
||||
if (osd->CanHandleAreas(Area, 1) == oeOk)
|
||||
osd->SetAreas(Area, 1);
|
||||
osd->SetAreas(&Area, 1);
|
||||
else {
|
||||
tArea Areas[] = { { 0, 0, 99, 19, 2 },
|
||||
{ 0, 20, 99, 79, 2 },
|
||||
|
Loading…
Reference in New Issue
Block a user