Update ExternalInterface.cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user