mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a vertical black line in the "TiledPixmaps" area on the rpihddevice OSD wit 1280x800 pixel
This commit is contained in:
parent
735fb20ac6
commit
eb7816259c
@ -76,3 +76,5 @@ VDR Plugin 'osddemo' Revision History
|
||||
2015-03-08: Version 2.3.1
|
||||
|
||||
- Now using cOsd::MaxPixmapSize().
|
||||
- Fixed a vertical black line in the "TiledPixmaps" area on the rpihddevice OSD with
|
||||
1280x800 pixel (thanks to Thomas Reufer).
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* See the README file for copyright information and how to reach the author.
|
||||
*
|
||||
* $Id: osddemo.c 4.1 2015/03/08 16:40:01 kls Exp $
|
||||
* $Id: osddemo.c 4.2 2015/03/08 16:42:01 kls Exp $
|
||||
*/
|
||||
|
||||
#include <vdr/osd.h>
|
||||
@ -210,7 +210,7 @@ cPixmap *cTrueColorDemo::CreateTextPixmap(const char *s, int Line, int Layer, tC
|
||||
if (Pixmap) {
|
||||
Pixmap->Clear();
|
||||
Pixmap->SetAlpha(0);
|
||||
Pixmap->DrawText(cPoint(0, 0), s, ColorFg, ColorBg, Font);
|
||||
Pixmap->DrawText(cPoint(0, 0), s, ColorFg, ColorBg, Font, w);
|
||||
}
|
||||
return Pixmap;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user