changed the tool window impolementation
This commit is contained in:
parent
02b978ca90
commit
094c673269
@ -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