diff options
author | louis <louis.braun@gmx.de> | 2013-05-26 11:58:11 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-26 11:58:11 +0200 |
commit | 27e4d459f5d4af3da5adf0c98dd3c69388e99cd6 (patch) | |
tree | ab156d1d5929ec111659c752e6640a2c88cbbdc2 /statusheader.c | |
parent | 812fd1b7a5aeb67d4139255a6df8230c420ea57e (diff) | |
download | vdr-plugin-tvguide-27e4d459f5d4af3da5adf0c98dd3c69388e99cd6.tar.gz vdr-plugin-tvguide-27e4d459f5d4af3da5adf0c98dd3c69388e99cd6.tar.bz2 |
Fixed position of video window
Diffstat (limited to 'statusheader.c')
-rw-r--r-- | statusheader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/statusheader.c b/statusheader.c index 107cf22..39610d3 100644 --- a/statusheader.c +++ b/statusheader.c @@ -41,8 +41,8 @@ void cStatusHeader::ScaleVideo(void) { if (tvguideConfig.scaleVideo) {
int height = tvguideConfig.statusHeaderHeight;
int width = height * 16 / 9;
- int x = tvguideConfig.osdWidth - width;
- int y = 0;
+ int x = osdManager.Left() + tvguideConfig.osdWidth - width;
+ int y = osdManager.Top();
cRect availableRect(x, y, width, height);
cRect vidWin = cDevice::PrimaryDevice()->CanScaleVideo(availableRect);
cDevice::PrimaryDevice()->ScaleVideo(vidWin);
|