SFML community forums

General => Feature requests => Topic started by: MrOnlineCoder on September 10, 2016, 02:42:17 pm

Title: Simple Message Box
Post by: MrOnlineCoder on September 10, 2016, 02:42:17 pm
Hello. Can SFML get a simple message box feature? It is useful for handling errors, and telling them to user. Like in SDL: https://wiki.libsdl.org/SDL_ShowSimpleMessageBox (https://wiki.libsdl.org/SDL_ShowSimpleMessageBox)
Title: Re: Simple Message Box
Post by: Mario on September 12, 2016, 08:58:28 am
We've had this suggestion before (I think I even made it myself at some point).

Main problem was – as far as I can remember – there's no such premade thing on (I think) Linux/X11. I still agree that it would be useful to inform the user of issues without having to resort to the console, especially if SFML's window creation fails.

Might have another look once I've got some time for it.™
Title: Re: Simple Message Box
Post by: dabbertorres on September 12, 2016, 06:56:39 pm
FWIW, SDL's X11 implementation uses X11 primitives to make a message box.