SimpleWindow.notifyV2
This commit is contained in:
@@ -716,7 +716,7 @@
|
||||
(when FlxG.mouse.justPressed
|
||||
(inputTexts.forEach ->text (set text.hasFocus false))))))))
|
||||
|
||||
(function :SimpleWindow notify [:String message
|
||||
(function &private :SimpleWindow notify [:String message
|
||||
:Void->Void onDismiss
|
||||
&opt :FlxColor bgColor
|
||||
:FlxColor titleColor
|
||||
@@ -748,6 +748,8 @@
|
||||
true
|
||||
screenReaderAudioFolder))
|
||||
|
||||
(redefineWithObjectArgs notify &public notifyV2 [message onDismiss])
|
||||
|
||||
(function &private :SimpleWindow promptForChoice <>[T] [:String prompt
|
||||
:Array<T> choices
|
||||
:T->Void onChoice
|
||||
|
||||
Reference in New Issue
Block a user