diff options
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; } |