[Mplayer-cvslog] CVS: main/Gui interface.c,1.79,1.80
Arpi of Ize
arpi at mplayerhq.hu
Fri Feb 7 19:06:27 CET 2003
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/German cd-dvd.html,1.28,1.29 codecs.html,1.46,1.47 documentation.html,1.67,1.68 encoding.html,1.25,1.26 faq.html,1.40,1.41 formats.html,1.19,1.20 mplayer.1,1.24,1.25 sound.html,1.28,1.29 video.html,1.33,1.34
- Next message: [Mplayer-cvslog] CVS: main cfg-mplayer.h,1.192,1.193
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv493/Gui
Modified Files:
interface.c
Log Message:
this patch adds the option -guiwid to gmplayer. I think its a more clean
approach than using just wid.
Fabian Franz <FabianFranz at gmx.de>
Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- interface.c 6 Feb 2003 23:12:37 -0000 1.79
+++ interface.c 7 Feb 2003 18:06:16 -0000 1.80
@@ -40,6 +40,7 @@
#include "../libmpcodecs/dec_video.h"
guiInterface_t guiIntfStruct;
+int guiWinID=-1;
char * gstrcat( char ** dest,char * src )
{
@@ -197,10 +198,11 @@
if (WinID>0)
{
appMPlayer.subWindow.Parent=WinID;
- appMPlayer.mainWindow.Parent=WinID;
appMPlayer.sub.x=0;
appMPlayer.sub.y=0;
}
+ if (guiWinID>=0)
+ appMPlayer.mainWindow.Parent=guiWinID;
wsCreateWindow( &appMPlayer.subWindow,
appMPlayer.sub.x,appMPlayer.sub.y,appMPlayer.sub.width,appMPlayer.sub.height,
@@ -517,7 +519,7 @@
}
guiIntfStruct.MovieWidth=vo_dwidth;
guiIntfStruct.MovieHeight=vo_dheight;
- if (WinID>0)
+ if (guiWinID>=0)
wsMoveWindow( &appMPlayer.mainWindow,0,0, vo_dheight);
}
break;
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/German cd-dvd.html,1.28,1.29 codecs.html,1.46,1.47 documentation.html,1.67,1.68 encoding.html,1.25,1.26 faq.html,1.40,1.41 formats.html,1.19,1.20 mplayer.1,1.24,1.25 sound.html,1.28,1.29 video.html,1.33,1.34
- Next message: [Mplayer-cvslog] CVS: main cfg-mplayer.h,1.192,1.193
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list