Re: [AD] allegro_message under X |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Elias Pschernig a écrit :
> > 1. use the command line utility kdialog (or gdialog) if available
> > 2. use xdialog if available (maybe it is always available with X ?)
>
> I have neither of the 3, with the standard debian gnome desktop. I have
> "xmessage" though.
Hmm, sorry, my bad, I really meant xmessage instead of xdialog :-)
> But using xmessage directly should work just as well.
I agree.
> > B. what's the best way to check for the existence of a command ? Try to
> > run it with system("kdialog...") and check the return status ?
>
> Sounds like a good way to me.
Ok.
> Oh, and what happens in fullscreen mode?
To quote the allegro_message documentation: "This function must only be used
when you aren't in graphics mode". So we don't care, unless we want to add
that feature to allegro_message.
--
Julien Cugnière