|
@@ -313,6 +313,8 @@ Class AppInstance
|
|
Return _mouseLocation
|
|
Return _mouseLocation
|
|
End
|
|
End
|
|
|
|
|
|
|
|
+ #rem monkeydoc @hidden
|
|
|
|
+ #end
|
|
Property ModalView:View()
|
|
Property ModalView:View()
|
|
|
|
|
|
Return _modalView
|
|
Return _modalView
|
|
@@ -335,8 +337,11 @@ Class AppInstance
|
|
Return std.time.Millisecs()
|
|
Return std.time.Millisecs()
|
|
End
|
|
End
|
|
|
|
|
|
-#If __TARGET__<>"emscripten"
|
|
|
|
-
|
|
|
|
|
|
+ #rem monkeydoc Puts the app to sleep.
|
|
|
|
+
|
|
|
|
+ Note: Use of this method is not recommended, as the app will be unresponsive while sleeping!
|
|
|
|
+
|
|
|
|
+ #end
|
|
Method Sleep( seconds:Double )
|
|
Method Sleep( seconds:Double )
|
|
|
|
|
|
Local timeout:=Now()+seconds
|
|
Local timeout:=Now()+seconds
|
|
@@ -354,8 +359,6 @@ Class AppInstance
|
|
Forever
|
|
Forever
|
|
|
|
|
|
End
|
|
End
|
|
-
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
#If __DESKTOP_TARGET__
|
|
#If __DESKTOP_TARGET__
|
|
|
|
|
|
@@ -431,7 +434,7 @@ Class AppInstance
|
|
_requestRender=True
|
|
_requestRender=True
|
|
End
|
|
End
|
|
|
|
|
|
- #rem @hidden
|
|
|
|
|
|
+ #rem monkeydoc @hidden
|
|
#end
|
|
#end
|
|
Method MainLoop()
|
|
Method MainLoop()
|
|
|
|
|
|
@@ -446,14 +449,14 @@ Class AppInstance
|
|
UpdateWindows()
|
|
UpdateWindows()
|
|
End
|
|
End
|
|
|
|
|
|
- #rem @hiddden
|
|
|
|
|
|
+ #rem monkeydoc @hidden
|
|
#end
|
|
#end
|
|
Method IsActive:Bool( view:View )
|
|
Method IsActive:Bool( view:View )
|
|
|
|
|
|
Return view And view.Active And (Not _modalView Or view.IsChildOf( _modalView ))
|
|
Return view And view.Active And (Not _modalView Or view.IsChildOf( _modalView ))
|
|
End
|
|
End
|
|
|
|
|
|
- #rem @hiddden
|
|
|
|
|
|
+ #rem monkeydoc @hidden
|
|
#end
|
|
#end
|
|
Method ActiveViewAtMouseLocation:View()
|
|
Method ActiveViewAtMouseLocation:View()
|
|
|
|
|
|
@@ -465,7 +468,7 @@ Class AppInstance
|
|
Return Null
|
|
Return Null
|
|
End
|
|
End
|
|
|
|
|
|
- #rem @hidden
|
|
|
|
|
|
+ #rem monkeydoc @hidden
|
|
#end
|
|
#end
|
|
Method UpdateWindows()
|
|
Method UpdateWindows()
|
|
|
|
|