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.Sprite;
|
||||||
import openfl.display.Window;
|
import openfl.display.Window;
|
||||||
|
|
||||||
class ToolWindow extends Sprite{
|
class HWindow extends Sprite{
|
||||||
public var window:Window;
|
public var window:Window;
|
||||||
public var attribs:WindowAttributes;
|
public var attribs:WindowAttributes;
|
||||||
public static var windows:Array<Window> = [];
|
public static var windows:Array<Window> = [];
|
||||||
@ -17,9 +17,12 @@ class ToolWindow extends Sprite{
|
|||||||
public function initStage(spr:Sprite){
|
public function initStage(spr:Sprite){
|
||||||
window.stage.addChild(this);
|
window.stage.addChild(this);
|
||||||
}
|
}
|
||||||
|
public function close(){
|
||||||
public static function createEditorWindow(){
|
window.close();
|
||||||
|
}
|
||||||
|
public static function createEditorWindow()
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
//public function open()
|
//public function open()
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user