[gui] fix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package haxework.animate;
|
||||
|
||||
import flash.display.DisplayObject;
|
||||
import flash.display.Sprite;
|
||||
import haxework.animate.Animate;
|
||||
import haxework.animate.IAnimate;
|
||||
@@ -7,12 +8,12 @@ import haxework.gui.IView;
|
||||
|
||||
class CircleMaskAnimate extends Animate {
|
||||
|
||||
private var view:IView<Dynamic>;
|
||||
private var view:IView<DisplayObject>;
|
||||
private var mask:Sprite;
|
||||
private var cyrcle:Sprite;
|
||||
private var size:Float;
|
||||
|
||||
public function new(view:IView<Dynamic>, duration:Int = -1) {
|
||||
public function new(view:IView<DisplayObject>, duration:Int = -1) {
|
||||
super(duration);
|
||||
this.view = view;
|
||||
this.mask = new Sprite();
|
||||
|
||||
@@ -7,10 +7,9 @@ import flash.text.TextFieldAutoSize;
|
||||
import flash.text.TextFieldType;
|
||||
import flash.text.TextFormat;
|
||||
import flash.text.TextFormatAlign;
|
||||
import haxework.core.IDisposable;
|
||||
import haxework.signal.Signal;
|
||||
|
||||
class InputView extends TextView implements IDisposable {
|
||||
class InputView extends TextView {
|
||||
|
||||
public var hint(default, set):String;
|
||||
public var onChange(default, null):Signal<String> = new Signal();
|
||||
|
||||
Reference in New Issue
Block a user