mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed bug when creating pixmaps
This commit is contained in:
parent
361802844b
commit
3b074e147d
1
HISTORY
1
HISTORY
@ -235,4 +235,5 @@ Version 0.3.2
|
|||||||
- 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.
|
||||||
- fixed bug in creating osd
|
- fixed bug in creating osd
|
||||||
|
- fixed bug when creating pixmaps
|
||||||
|
|
||||||
|
@ -119,6 +119,8 @@ void cPixmapContainer::CreatePixmap(int num, int Layer, const cRect &ViewPort, c
|
|||||||
if (!osd || (checkRunning && !Running()))
|
if (!osd || (checkRunning && !Running()))
|
||||||
return;
|
return;
|
||||||
pixmaps[num] = osd->CreatePixmap(Layer, ViewPort, DrawPort);
|
pixmaps[num] = osd->CreatePixmap(Layer, ViewPort, DrawPort);
|
||||||
|
if (!pixmaps[num])
|
||||||
|
return;
|
||||||
pixmaps[num]->Fill(clrTransparent);
|
pixmaps[num]->Fill(clrTransparent);
|
||||||
if (pixContainerInit && fadeTime) {
|
if (pixContainerInit && fadeTime) {
|
||||||
pixmaps[num]->SetAlpha(0);
|
pixmaps[num]->SetAlpha(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user