[MPlayer-dev-eng] [PATCH] make gui accept WinID (-wid) / damit auch die gui WinID respektiert (-wid)

Fabian Franz FabianFranz at gmx.de
Wed Feb 5 23:32:20 CET 2003


Hi,

is there any chance that this small patch (or a variation of it) can be 
included before 0.90 ? / gibt es irgendeine Chance, dass dieser Patch (oder 
eine Variante) noch vor 0.90 einfließen kann?

You know perhaps that Kevin and me are working hard on the mplayerplug-in for 
mozilla/netscape. (see http://mplayerplug-in.sf.net) / Vielleicht weißt du, 
dass Kevin und ich hart am mplayerplug-in für mozilla arbeiten.

We also want to add an integrated gui. / Wir wollen auch eine integrierte gui 
hinzufügen.

How it could look, can you see on the Homepage, under Screenshots. / §ie es 
aussehen könnte kannst du auf der Homepage unter Screenshots sehen. 

[http://mplayerplug-in.sf.net]

Attached patch would make it look like that / Angefügter Patch, würde es so 
aussehen lassen.

However if you think this is a bad idea, there could be a compromise: / Wenn 
du aber denkst, dass das eine dumme Idee ist, dann könnte es zumindest einen 
Kompromiss geben:

So that mplayerplug-in-users could actually use the gui, but also have an 
embedded window ... / So, dass mplayerplug-in-Benutzer die GUI wenigstens 
benutzen könnten, aber trotzdem ein eingebettetes Fenster hätten.

This would be then just two lines / Das wären dann nur diese beiden Zeilen.

if (WinID>0)
    appMPlayer.subWindow.Parent=WinID;

Movies would be played in subwindow, while gui was normal on desktop as always 
... / Filme würden dann im Subfenster abgespielt werden, während die GUI 
normal auf dem Desktop wäre, wie immer.

One Problem is that the Window is centered and as such one must add: / Ein 
Problem ist noch, dass das Fenster zentriert ist, deshalb muss noch folgendes 
hinzugefügt werden:

if (WinID>0)
{
    appMPlayer.subWindow.Parent=WinID;
    appMPlayer.sub.x=0;
    appMPlayer.sub.y=0;  
}

I want to have at least this mini-fix in 0.90, because I think 0.90 will be 
used by many for a loooooooooooooooooooong time ... / Ich möchte zumindest 
diesen Mini-Fix in 0.90 drin haben, denn ich danke 0.90 wird von vielen für 
eine seeeeeeeeeeeeeeeeeeeeeeeeeeeeeehr lange Zeit benutzt werden.

Tell me what you think about it! / Sag mir, was du darüber denkst!

Two Variants attached / Zwei Varianten angehängt.

cu

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_plugin_gui_in_window.diff
Type: text/x-diff
Size: 892 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030205/4b853b74/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_plugin_gui_subwindow_in_window.diff
Type: text/x-diff
Size: 609 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030205/4b853b74/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list