Re: [AD] Removing the default close button support

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


> Ok, but how would the internationalised message thing work?  I hope it
> is not an implicit get_config_text() call in set_close_button_callback().

Do you mean that you don't want the user message to be passed through 
get_config_text() ? Ok, that makes sense. Then we have no other choice than 
defining DEFAULT_MSG to be a well-chosen constant:

   #define DEFAULT_MSG  (const char *)1

-- 
Eric Botcazou



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