Re: [AD] GUI fix and some questions

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


In reply to Charles Wardlaw <katt_gaiden@xxxxxxxxxx>:
>Has a new look for the standard allegro GUI procs been discussed for v4.0?  
>Something nice and X-ish is my vote... ^.^

Check out AGUP (Allegro GUI un-unuglification project), by Peter Wang.

>
>I also noticed that destroy_bitmap tends to crash if called after
>allegro_exit.  Is this expected behaviour (ie, I didn't read the
>manual closely enough), or a bug?

Known behaviour. The place it causes problems most frequently is in C++
class destructors (particularly with global objects, which are always
destroyed after Allegro is removed).

>  I think it's strange that any of
>the destroy functions would require allegro to be initialized in order
>to work, but when I deleted my bitmaps before calling allegro_exit the
>crashes disappeared.

Check out the source code to destroy_bitmap :-)

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



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