SimpleWindow.notifyV2

This commit is contained in:
2025-03-12 11:44:18 -05:00
parent 4fb7971d95
commit 2a013ca4d3

View File

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