summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/play.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-30 10:55:17 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-30 10:55:17 +0000
commitb194ee83af094a2ad6d3d049f8cc97715555f5df (patch)
treea78b3616c8e31c49e715a2d465c564448899f440 /Gui/mplayer/play.c
parent6fc0377d0d0ae36bc84af932e478ca66778039ab (diff)
downloadmpv-b194ee83af094a2ad6d3d049f8cc97715555f5df.tar.bz2
mpv-b194ee83af094a2ad6d3d049f8cc97715555f5df.tar.xz
normal size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1766 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/play.c')
-rw-r--r--Gui/mplayer/play.c32
1 files changed, 5 insertions, 27 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index e19323a849..d649eb09e6 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -7,7 +7,7 @@
int mplParent = 1;
-int mplx,mply,mplwidth,mplheight;
+int moviex,moviey,moviewidth,movieheight;
#include "../app.h"
@@ -37,32 +37,10 @@ void mplPlayerThread( void )
void mplFullScreen( void )
{
- if ( appMPlayer.subWindow.isFullScreen )
- {
- if ( mplShMem->Playing )
- {
- appMPlayer.subWindow.OldX=mplx;
- appMPlayer.subWindow.OldY=mply;
- appMPlayer.subWindow.OldWidth=mplwidth;
- appMPlayer.subWindow.OldHeight=mplheight;
- }
- else
- {
- appMPlayer.subWindow.OldWidth=appMPlayer.sub.width;
- appMPlayer.subWindow.OldHeight=appMPlayer.sub.height;
- appMPlayer.subWindow.OldX=( wsMaxX - appMPlayer.sub.width ) / 2;
- appMPlayer.subWindow.OldY=( wsMaxY - appMPlayer.sub.height ) / 2;
- }
- }
- else
- {
- mplx=appMPlayer.subWindow.X;
- mply=appMPlayer.subWindow.Y;
- mplwidth=appMPlayer.subWindow.Width;
- mplheight=appMPlayer.subWindow.Height;
- }
- wsFullScreen( &appMPlayer.subWindow );
-// wsMoveTopWindow( &appMPlayer.subWindow );
+// if ( appMPlayer.subWindow.isFullScreen )
+// {
+// }
+ wsFullScreen( &appMPlayer.subWindow );
mplResize( 0,0,appMPlayer.subWindow.Width,appMPlayer.subWindow.Height );
}