mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed bug in creating osd
This commit is contained in:
parent
3dc2313708
commit
361802844b
4
HISTORY
4
HISTORY
@ -228,13 +228,11 @@ Version 0.3.1
|
|||||||
|
|
||||||
Version 0.3.2
|
Version 0.3.2
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
- fixed crash in drawing devices
|
- fixed crash in drawing devices
|
||||||
=======
|
|
||||||
- fixed crash if number of dvb devices changes
|
- fixed crash if number of dvb devices changes
|
||||||
- added possibility to detach dedicated viewelements in displaychannel
|
- added possibility to detach dedicated viewelements in displaychannel
|
||||||
and displaymenumain that they start in an own thread
|
and displaymenumain that they start in an own thread
|
||||||
- introduced background="true" attribute in viewelements. These areas
|
- introduced background="true" attribute in viewelements. These areas
|
||||||
will only be drawn once.
|
will only be drawn once.
|
||||||
>>>>>>> multithread
|
- fixed bug in creating osd
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ bool cPixmapContainer::CreateOsd(int Left, int Top, int Width, int Height) {
|
|||||||
}
|
}
|
||||||
cOsd *newOsd = cOsdProvider::NewOsd(Left, Top);
|
cOsd *newOsd = cOsdProvider::NewOsd(Left, Top);
|
||||||
if (newOsd) {
|
if (newOsd) {
|
||||||
tArea Area = { 0, 0, Width, Height, 32 };
|
tArea Area = { 0, 0, Width - 1, Height - 1, 32 };
|
||||||
if (newOsd->SetAreas(&Area, 1) == oeOk) {
|
if (newOsd->SetAreas(&Area, 1) == oeOk) {
|
||||||
osd = newOsd;
|
osd = newOsd;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user