mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Add patch for skinnopacity
This commit is contained in:
parent
70b67f4466
commit
e4e6a81f54
14
patches/vdr-plugin-skinnopacity-osd.diff.txt
Normal file
14
patches/vdr-plugin-skinnopacity-osd.diff.txt
Normal file
@ -0,0 +1,14 @@
|
||||
--- helpers.c.orig 2019-11-19 20:02:37.851039110 +0100
|
||||
+++ helpers.c 2019-11-19 20:02:03.733164221 +0100
|
||||
@@ -5,9 +5,9 @@
|
||||
#include <vdr/skins.h>
|
||||
|
||||
cOsd *CreateOsd(int Left, int Top, int Width, int Height) {
|
||||
- cOsd *osd = cOsdProvider::NewOsd(Left, Top);
|
||||
+ cOsd *osd = cOsdProvider::NewOsd(cOsd::OsdLeft() + Left,cOsd::OsdTop() + Top);
|
||||
if (osd) {
|
||||
- tArea Area = { 0, 0, Width, Height, 32 };
|
||||
+ tArea Area = { 0, 0, Width - 1, Height - 1, 32 };
|
||||
if (osd->SetAreas(&Area, 1) == oeOk) {
|
||||
return osd;
|
||||
}
|
Loading…
Reference in New Issue
Block a user