diff options
author | woro <woro@e10066b5-e1e2-0310-b819-94efdf66514b> | 2008-04-12 13:55:27 +0000 |
---|---|---|
committer | woro <woro@e10066b5-e1e2-0310-b819-94efdf66514b> | 2008-04-12 13:55:27 +0000 |
commit | 17ed7a1e7b7f6c23f197339e44380772ce11b2ad (patch) | |
tree | fdb9d50c734cac9f6beeb061ff324a38f62c7db2 | |
parent | 09fbc1cd413e2d769fe5e6692f19ad1585b3380e (diff) | |
download | vdr-plugin-muggle-17ed7a1e7b7f6c23f197339e44380772ce11b2ad.tar.gz vdr-plugin-muggle-17ed7a1e7b7f6c23f197339e44380772ce11b2ad.tar.bz2 |
display small cover: appeared at the wrong place
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@1177 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r-- | vdr_player.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vdr_player.c b/vdr_player.c index 992c527..68a6935 100644 --- a/vdr_player.c +++ b/vdr_player.c @@ -363,24 +363,24 @@ mgPlayerControl::InitLayout(void) { int imagex1,imagey1,imagex2,imagey2; if (the_setup.BackgrMode==1) { CoverWidth = PBBottom-lh; - imagex1=Setup.OSDLeft+CoverX-10; - imagey1=Setup.OSDTop+InfoTop; - imagex2=Setup.OSDLeft+CoverX+CoverWidth+3; - imagey2=BottomTop+Setup.OSDTop-1 ; CoverX = osdwidth - CoverWidth -3*fw -2; CoverX /=4; CoverX *=4; InfoWidth = CoverX -27 -3*fw; + imagex1=Setup.OSDLeft+CoverX-10; + imagey1=Setup.OSDTop+InfoTop; + imagex2=Setup.OSDLeft+CoverX+CoverWidth+3; + imagey2=BottomTop+Setup.OSDTop-1 ; } else if (the_setup.BackgrMode==2) { - imagex1=0; - imagey1=0; - imagex2=703; // fix PAL - imagey2=575; CoverWidth=0; CoverX = osdwidth; CoverX /=4; CoverX *=4; InfoWidth = CoverX -27- 3*fw; + imagex1=0; + imagey1=0; + imagex2=703; // fix PAL + imagey2=575; } if (!m_img_provider) { tArea coverarea = { imagex1, imagey1, imagex2, imagey2}; |