[MPlayer-dev-eng] [patch] fix compilation error in gui/win32/interface.c

Alexander Strasser eclipse7 at gmx.net
Sat Nov 24 16:59:46 CET 2012


Ingo Brückl wrote:
> Alexander Strasser wrote on Sat, 24 Nov 2012 02:02:34 +0100:
> 
> > 1) So if your goal is to have both GUIs evolve into a similar application
> > where the detail implementations differ to accommodate for the underlying
> > platform, I do think this solution is a good fit
[...]
> 
> I'd actually like to share as much code as possible. Only (a small amount of)
> window manager and OS specific stuff should be different for the GUIs, i.e.
> something like:
> 
> gui -+- common --+- interface
>      |           |
>      |           +- skin
>      |           |
>      |           +- ui
>      |           |
>      |           +- util
>      |
>      +- x11.gtk -+- dialog (GTK)
>      |           |
>      |           +- wm (X Window)
>      |
>      +- win32 ---+- dialog (MS Windows)
>                  |
>                  +- wm (MS Windows)
> 
> MPlayer and all GUIs would only talk using interface code defined in common,
> i.e. the (common and only) GUI is something that only needs a kind of
> "driver" for the window and drawing stuff.

  I see. So you are aiming in the direction I described above under 1).
That's fine. Thank you for giving some insights into your future plans.

> > Sorry for the long answer without really having a clue about the mplayer
> > gui code...
> 
> Well, for a good concept it often helps to have a look from outside.
> 
> Thanks for your input.

  I am glad if it helped a bit.


  Alexander


More information about the MPlayer-dev-eng mailing list