From 81acecfaeabf52e8b3aebaab3d185a7cec88ecb8 Mon Sep 17 00:00:00 2001 From: Tommy X Date: Tue, 1 Sep 2015 20:16:12 -0400 Subject: [PATCH] Update ExternalInterface.cpp --- project/src/ExternalInterface.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 +}