[client] update ui

This commit is contained in:
2018-08-09 17:55:40 +03:00
parent 95148a9b0b
commit 085431fe73
59 changed files with 110 additions and 95 deletions

View File

@@ -8,7 +8,7 @@ class SimpleButtonSkin extends ButtonColorSkin {
public var borderColor(default, default):Int;
public function new(color:Int = 0xffffff, borderColor:Int = 0x95937D) {
public function new(color:Int = 0xffffff, borderColor:Int = 0xffffff) {
super(color, 0.6);
this.borderColor = borderColor;
}
@@ -19,7 +19,8 @@ class SimpleButtonSkin extends ButtonColorSkin {
graphics.clear();
graphics.beginFill(color, alpha);
graphics.lineStyle(2, borderColor);
graphics.drawRoundRect(0, 0, view.width, view.height, 10, 10);
//graphics.drawRoundRect(0, 0, view.width, view.height, 10, 10);
graphics.drawRect(0, 0, view.width, view.height);
graphics.endFill();
}
}