Update ExternalInterface.cpp

This commit is contained in:
Tommy X
2015-09-01 20:16:12 -04:00
parent 77b9243ce8
commit 81acecfaea

View File

@@ -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;
}
}