On Sat, Feb 08, 2003 at 06:45:42PM -0500, Steve Freeland wrote:
> When is the correct time to call player->Resize() or
> player->Set() with video properties? If I do it before calling
> player->Start(), the settings won't be accepted since the video
> renderer stack is empty at that moment (correct me if I'm wrong: it
> gets filled in the construct() method, which only gets called from
> Start()). But if I call it *after* Start(), a window with the wrong
> settings has already been created and needs to be "fixed" -- either
> resized or closed and re-opened in some cases. Can that be avoided
> at all? In particular, it would be better if the window were created
> with the right size because then the window manager's placement would
> be more appropriate.
It depends on whatever the thing is supported as some 'option/property'
(brightness,...) or it's just runtime modifieable (window position).
In some cases the modification can't be even made before the
window is opened as
a) you don't know how the window look-like
b) SDL doesn't support such thing (i.e. window movement/placement is
not supported by SDL and is being 'hacked' over the top of SDL)
You may call Start(), Pause() but I affraid there is not much I could
currently do with the present architecture.
--
.''`. Zdenek Kabelac kabi@{debian.org, users.sf.net, fi.muni.cz}
: :' : Debian GNU/Linux maintainer - www.debian.{org,cz}
`. `'
`- http://www.gaddis.org/what_really_happened.jpg
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile