From a04580895098ffd3e90af8d63f2d867b430a5924 Mon Sep 17 00:00:00 2001 From: Tommy X Date: Tue, 1 Sep 2015 20:17:44 -0400 Subject: [PATCH] Added Alert function --- lime/ui/Window.hx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lime/ui/Window.hx b/lime/ui/Window.hx index f54fbadf1..9c877de42 100644 --- a/lime/ui/Window.hx +++ b/lime/ui/Window.hx @@ -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 \ No newline at end of file +#end