Re: [AD] Overloading Alert

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


Chris:
> Hmm.. perhaps we could modify allegro_message to use a popup GUI dialog
> when in a gfx mode?

I like the idea, but...

> #define BUTTON_TEXT "\some-special-escape-sequence"
> allegro_message("This is a message box\nPh34r" BUTTON_TEXT "Click Me!");

...YUCK! :)

Why not just add allegro_message_ex(), with separate parameters for message
and button text, and deprecate allegro_message()?

--
Daniel Schlyder
http://bitblaze.com/





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