Added Alert function
This commit is contained in:
@@ -269,6 +269,12 @@ class Window {
|
||||
|
||||
}
|
||||
|
||||
public function alert (count:Int, speed:Int, stopOnForeground:Bool):Void {
|
||||
|
||||
backend.alert (count, speed, stopOnForeground);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function toString ():String {
|
||||
|
||||
@@ -416,4 +422,4 @@ class Window {
|
||||
@:noCompletion private typedef WindowBackend = lime._backend.html5.HTML5Window;
|
||||
#else
|
||||
@:noCompletion private typedef WindowBackend = lime._backend.native.NativeWindow;
|
||||
#end
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user