mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-12 02:41:14 +00:00
15 lines
296 B
C++
15 lines
296 B
C++
#include "messagebox.h"
|
|
|
|
#include <emscripten.h>
|
|
|
|
bool Emscripten_ShowSimpleMessageBox(
|
|
MORTAR_MessageBoxFlags flags,
|
|
const char* title,
|
|
const char* message,
|
|
MORTAR_Window* window
|
|
)
|
|
{
|
|
MAIN_THREAD_EM_ASM({alert(UTF8ToString($0) + "\n\n" + UTF8ToString($1))}, title, message);
|
|
return true;
|
|
}
|