SFML community forums

Help => Window => Topic started by: NinjaFighter on February 07, 2012, 12:12:12 am

Title: showing popups?
Post 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?
Title: showing popups?
Post by: RedIrony on February 07, 2012, 01:34:04 am
I don't believe so. You'd probably be best served by finding a GUI library, and then integrating SFML into that.
Title: showing popups?
Post by: Mario on February 08, 2012, 05:42:05 pm
Think he's talking about simple message boxes only. But yeah, never thought about these, but these should be exposed by SFML IMO.
Title: showing popups?
Post by: Laurent on February 08, 2012, 07:07:44 pm
You can create a SFML window with no decoration (sf::Style::None). It won't be modal though.
Title: showing popups?
Post by: Mario on February 14, 2012, 01:38:14 pm
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.