[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] how to react as the window is being resized?



On Tue, Oct 16, 2007 at 04:59:39AM -0400, inhahe wrote:
> On 10/14/07, John Popplewell <john@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> > On Sun, Oct 14, 2007 at 07:03:49PM -0400, inhahe wrote:
> >
> > If it has the same problem, try updating SDL.dll, otherwise it sounds
> > like a problem with your app.
> >
> 
> that fixed the problem, thx.
Great! Glad it's now working.

> i have a problem with videoresize..
> pygame doesn't generate any events while you're resizing a window. only once
> you've let the mousebutton up.  so that means you can't show the window
> contents changing as you're resizing it in reaction to that.  and if you
> size it larger, it just fills that area with ghost copies of the window's
> frame while you're resizing, which looks terrible.  is there any way to do
> this?
As far as I know there is no way round this, it seems to be an SDL
feature.

cheers,
John.