MessageBox return and different buttons
Issue #48
new
It will be nice if we can set differents buttons for the messagebox : Yes, No, Cancel, Retry, Abort, ... And catch the messagebox returns depending on the clicked button.
Comments (1)
-
repo owner - Log in to comment
SDL does provide an API for this: https://wiki.libsdl.org/SDL_ShowMessageBox
It should be possible to implement some basic functionality like you suggest, where the user would provide an array of strings and the id of the button would be returned.
I'll have a look at it. Thanks for your suggestion.