diff options
Diffstat (limited to 'statusheader.c')
-rw-r--r-- | statusheader.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/statusheader.c b/statusheader.c index 5af238c..62de300 100644 --- a/statusheader.c +++ b/statusheader.c @@ -9,14 +9,14 @@ cStatusHeader::cStatusHeader(void) { height = geoManager.statusHeaderHeight; width = geoManager.headerContentWidth; tvFrameWidth = geoManager.tvFrameWidth; - pixmap = osdManager.requestPixmap(1, cRect(0, 0, width, height)); - pixmapText = osdManager.requestPixmap(2, cRect(0, 0, width, height)); - pixmapTVFrame = osdManager.requestPixmap(1, cRect(width, 0, tvFrameWidth, height)); + pixmap = osdManager.CreatePixmap(1, cRect(0, 0, width, height)); + pixmapText = osdManager.CreatePixmap(2, cRect(0, 0, width, height)); + pixmapTVFrame = osdManager.CreatePixmap(1, cRect(width, 0, tvFrameWidth, height)); } cStatusHeader::~cStatusHeader(void) { - osdManager.releasePixmap(pixmapText); - osdManager.releasePixmap(pixmapTVFrame); + osdManager.DestroyPixmap(pixmapText); + osdManager.DestroyPixmap(pixmapTVFrame); if (config.scaleVideo) { cRect vidWin = cDevice::PrimaryDevice()->CanScaleVideo(cRect::Null); cDevice::PrimaryDevice()->ScaleVideo(vidWin); |