Browse Source

Cleanups.

Mark Sibly 7 years ago
parent
commit
23fc193bf8
2 changed files with 9 additions and 13 deletions
  1. 7 8
      modules/mojo/app/app.monkey2
  2. 2 5
      modules/mojo/app/window.monkey2

+ 7 - 8
modules/mojo/app/app.monkey2

@@ -10,14 +10,16 @@ Function AppInit()="bbApp::init"
 
 Public
 
-'#Import "assets/Roboto-Regular.ttf@/mojo"
-'#Import "assets/RobotoMono-Regular.ttf@/mojo"
-
 #rem monkeydoc The global AppInstance instance.
 #end
 Global App:AppInstance
 
-#rem monkeydoc @hidden
+#rem monkeydoc Display mode structure.
+
+Contains information describing a display mode.
+
+See [[AppInstance.DisplayMode]] for more information.
+
 #end
 Struct DisplayMode
 	
@@ -305,10 +307,7 @@ Class AppInstance
 		Return _hoverView
 	End
 	
-	#rem monkeydoc @deprecated The desktop size.
-	
-	This method is deprecated, please use [[DesktopMode]] instead.
-	
+	#rem monkeydoc The desktop size.
 	#end	
 	Property DesktopSize:Vec2i()
 		

+ 2 - 5
modules/mojo/app/window.monkey2

@@ -31,18 +31,15 @@ End
 #rem monkeydoc The Window class.
 #end
 Class Window Extends View
-	
-	Method New()
-		Init( "Window",New Recti( 0,0,640,480),WindowFlags.Center )
-	End
 
+	#rem monkeydoc Creates a new window.
+	#end	
 	Method New( title:String="Window",width:Int=640,height:Int=480,flags:WindowFlags=Null )
 		Init( title,New Recti( 0,0,width,height ),flags|WindowFlags.Center )
 	End
 
 	Method New( title:String,rect:Recti,flags:WindowFlags=Null )
 		Init( title,rect,flags )
-		
 	End
 	
 	#rem monkeydoc The window title text.