SFML community forums
Help => Window => Topic started by: NinjaFighter on February 07, 2012, 12:12:12 am
-
Is there a way to show popups with sfml2?
For example, to throw an user readable error?
-
I don't believe so. You'd probably be best served by finding a GUI library, and then integrating SFML into that.
-
Think he's talking about simple message boxes only. But yeah, never thought about these, but these should be exposed by SFML IMO.
-
You can create a SFML window with no decoration (sf::Style::None). It won't be modal though.
-
Just googled a bit on this, and there's no generic way to do it? I expected some MessageBox pendant in X11, but it seems like there isn't any, so you'd have to create your own windows by hand... Would make a ready to use function even more interesting. Going to write up something for the suggestions forum.