Open rm-code opened 8 years ago
The simple case of love.window.showMessageBox( title, message, type, attachtowindow )
could be sort of emulated using window.alert
.
The more complicated love.window.showMessageBox( title, message, buttonlist, type, attachtowindow )
doesn't have any contemporary in a browser.
Emscripten is spitting out some code for SDL_ShowMessageBox but it doesn't seem to be, you know, showing a message box. Let me look more into this.
There's no entry for Emscripten which is why, despite the code existing, it doesn't do anything particularly useful.
Can't we do this with a modal? Done in HTML/CSS/JS?
That way there is more personalization, and also we can do the more complex signature as well love.window.showMessageBox( title, message, buttonlist, type, attachtowindow )
@Positive07 Part of showMessageBox
is that it interrupts/pauses program execution until the user interacts with the modal. I don't think there's a good way to do that without alert
.
Would this be possible to implement?