[AD] TRACE in examples

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


Since this is still not fixed...

A simple solution would be to use al_show_native_message_box whenever
there is no other way to display a message to the user. It would make
the native dialogs addon a requirement for running any examples - but I
don't think that's a problem.

If it is, we could add A4's allegro_message function to the core
instead.

A third option would be to include a small common.c from all examples,
which implements a function to display a window with an error message
and exit (al_create_display should be failsafe enough to be used for
this).

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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