|
@@ -156,6 +156,8 @@ Class Dialog Extends View
|
|
|
_window=Null
|
|
|
End
|
|
|
|
|
|
+#if __TARGET__<>"emscripten"
|
|
|
+
|
|
|
#rem monkeydoc Creates and runs a modal dialog.
|
|
|
#end
|
|
|
Function Run:Int( title:String,view:View,actions:String[],onEnter:Int=-1,onEscape:Int=-1 )
|
|
@@ -194,6 +196,8 @@ Class Dialog Extends View
|
|
|
Return result
|
|
|
End
|
|
|
|
|
|
+ #end
|
|
|
+
|
|
|
Protected
|
|
|
|
|
|
Method OnMeasure:Vec2i() Override
|
|
@@ -253,6 +257,8 @@ Class TextDialog Extends Dialog
|
|
|
_label.Text=text
|
|
|
End
|
|
|
|
|
|
+#if __TARGET__<>"emscripten"
|
|
|
+
|
|
|
#rem monkeydoc Creates and runs a modal text dialog.
|
|
|
#end
|
|
|
Function Run:Int( title:String,text:String,actions:String[],onEnter:Int=-1,onEscape:Int=-1 )
|
|
@@ -289,6 +295,8 @@ Class TextDialog Extends Dialog
|
|
|
Return r
|
|
|
End
|
|
|
|
|
|
+ #end
|
|
|
+
|
|
|
Private
|
|
|
|
|
|
Field _label:Label
|