Re: [AD] al_window_close, 2nd pass

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 13 September 2002 11:07, Eric Botcazou wrote:
> Moreover I think a handler is more flexible than a mere flag.

I think it's the other way around. Sure, you have to explicitly write:

if(al_window_closed) {
  // ... handle close button click
}

in your main loop(s), but you can do whatever you like in the 
conditional, whereas you are very restricted as to what you can do in a 
handler (IIRC this is because it is not run in the main thread, 
although correct me if I'm wrong).

The decision is however yours, of course :-)

Bye for now,
- -- 
Laurence Withers,  lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9gfQlUdhclgSmRuoRAttBAJ4r1yfduoStxRKoHpbPT4ATjsOmpgCcDdZf
UGbtLhz4MJEC/ShIKNH5t1Q=
=WFEi
-----END PGP SIGNATURE-----



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