changed the tool window impolementation
This commit is contained in:
		
							parent
							
								
									5422b854e0
								
							
						
					
					
						commit
						4208265d21
					
				| @ -5,7 +5,7 @@ import openfl.Lib; | ||||
| import openfl.display.Sprite; | ||||
| import openfl.display.Window; | ||||
| 
 | ||||
| class ToolWindow extends Sprite{ | ||||
| class HWindow extends Sprite{ | ||||
|     public var window:Window; | ||||
|     public var attribs:WindowAttributes; | ||||
|     public static var windows:Array<Window> = []; | ||||
| @ -17,9 +17,12 @@ class ToolWindow extends Sprite{ | ||||
|     public function initStage(spr:Sprite){ | ||||
|         window.stage.addChild(this); | ||||
|     } | ||||
| 
 | ||||
|     public static function createEditorWindow(){ | ||||
| 
 | ||||
|     public function close(){ | ||||
|         window.close(); | ||||
|     } | ||||
|     public static function createEditorWindow() | ||||
|     { | ||||
|          | ||||
|     } | ||||
|     //public function open() | ||||
| 
 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user