diff --git a/project/src/ExternalInterface.cpp b/project/src/ExternalInterface.cpp index 673199903..1164a270e 100644 --- a/project/src/ExternalInterface.cpp +++ b/project/src/ExternalInterface.cpp @@ -1211,6 +1211,13 @@ namespace lime { } + void lime_window_alert (double window, int count, int speed, bool stop_on_forground) { + + Window* targetWindow = (Window*)(intptr_t)window; + targetWindow->Alert (count, speed, stop_on_forground); + + } + DEFINE_PRIME1 (lime_application_create); DEFINE_PRIME2v (lime_application_event_manager_register); @@ -1313,6 +1320,7 @@ namespace lime { DEFINE_PRIME2v (lime_window_set_icon); DEFINE_PRIME2 (lime_window_set_minimized); DEFINE_PRIME2 (lime_window_set_title); + DEFINE_PRIME4 (lime_window_alert); } @@ -1322,4 +1330,4 @@ extern "C" int lime_register_prims () { return 0; -} \ No newline at end of file +}