Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Simple Message Box  (Read 3824 times)

0 Members and 1 Guest are viewing this topic.

MrOnlineCoder

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Simple Message Box
« 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

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Simple Message Box
« Reply #1 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.™

dabbertorres

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • website/blog
Re: Simple Message Box
« Reply #2 on: September 12, 2016, 06:56:39 pm »
FWIW, SDL's X11 implementation uses X11 primitives to make a message box.

 

anything