diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-11-10 15:37:28 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-06-18 17:03:15 +0200 |
commit | 93af9304c8d798e71f86fc5166cc4d323ed0f9f6 (patch) | |
tree | c96d878edeba357cedb0f07fc429d408fa715130 /headergrid.c | |
parent | d8663ff3096fcea38bf7d7b93dceec90a5fbabe2 (diff) | |
download | vdr-plugin-tvguide-93af9304c8d798e71f86fc5166cc4d323ed0f9f6.tar.gz vdr-plugin-tvguide-93af9304c8d798e71f86fc5166cc4d323ed0f9f6.tar.bz2 |
Cosmetic change in osdmanager.*
Diffstat (limited to 'headergrid.c')
-rw-r--r-- | headergrid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/headergrid.c b/headergrid.c index 91a069d..731b672 100644 --- a/headergrid.c +++ b/headergrid.c @@ -8,7 +8,7 @@ cHeaderGrid::cHeaderGrid(void) : cGridElement(NULL) { } cHeaderGrid::~cHeaderGrid(void) { - osdManager.releasePixmap(pixmapLogo); + osdManager.DestroyPixmap(pixmapLogo); } void cHeaderGrid::createBackground(int num) { @@ -22,8 +22,8 @@ void cHeaderGrid::createBackground(int num) { x = geoManager.channelGroupsWidth; y = geoManager.statusHeaderHeight + geoManager.timeLineHeight + num*geoManager.rowHeight; } - pixmap = osdManager.requestPixmap(1, cRect(x, y, geoManager.channelLogoWidth, geoManager.channelLogoHeight)); - pixmapLogo = osdManager.requestPixmap(2, cRect(x, y, geoManager.channelLogoWidth, geoManager.channelLogoHeight)); + pixmap = osdManager.CreatePixmap(1, cRect(x, y, geoManager.channelLogoWidth, geoManager.channelLogoHeight)); + pixmapLogo = osdManager.CreatePixmap(2, cRect(x, y, geoManager.channelLogoWidth, geoManager.channelLogoHeight)); if ((!pixmap) || (!pixmapLogo)){ return; } |