Re: [AD] Resizable windows on Mac OS X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


It resizes OK but there is a lot of ugly red flashes while it's doing
it and it also loses keyboard input for me. You might need a
makeKeyWindow somewhere.

I had a quick look at the code. It's OK but in general you don't
subclass NSWindow unless you have to - mostly there is a delegate
method instead. I had to do it to get it to respond to events if
frameless, but for example look at windowShouldClose:, it's
implemented in the delegate. windowWillResize:toSize: is the same.

Pete


On Sun, Sep 21, 2008 at 4:51 AM, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> Ok, I've commited a further refined and cleaned-up version of this
> patch, this one without the confusion between the window frame size
> and the content size.
> It still has the problem of losing keyboard input after the window is
> resized until the window is clicked. I must be doing something wrong,
> but I can't find out what.
>
> Evert
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/