Re: Concerning TODO item re-think parent-childconnection, move to vf_vo2.c maybe
"Sascha Sommer" <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.g2.devel |
|---|---|
| Message-ID | <018901c3be5b$63cebb60$566954d9@oemcomputer> |
> On Tue, Dec 09, 2003 at 02:25:21PM +0100, Sascha Sommer wrote: > > I think all of them need nothing more than a handle to the window > > in which they should display the window, it's x, y, width and height > > and the colorkey. Therefore I propose that the UI creates the windows > > for them and passes its parameters to the vo when they change. > > Does this mean that each UI calls vo->create_window or some other vo > function, or should thæ UI know how to create a window for each vo it > plans to use? I don't think that vo-dependant code should be in the UI, > so I hope you don't mean to do this. > I think the vos only use two kinds of windows X11 and windows windows. If it is a linux gui it should know how to create a X11 window or call a helper function like the one in libvo2/x11_helper.c. Sascha