ui border, fixes
This commit is contained in:
parent
a378c69d26
commit
5300c9e4fc
18 changed files with 150 additions and 149 deletions
|
@ -24,7 +24,7 @@ public class Bar extends Fill {
|
|||
}
|
||||
|
||||
protected void drawBackground() {
|
||||
Drawing.drawGradient2Border(this.pos_x, this.pos_y, this.size_x, this.size_y, this.gm.style.fill_btm, this.gm.style.fill_top, this.gm.style.brdr_top, this.gm.style.brdr_btm);
|
||||
Drawing.drawGradientBorder(this.pos_x, this.pos_y, this.size_x, this.size_y, this.gm.style.fill_btm, this.gm.style.fill_top, 0xff000000, this.gm.style.brdr_top, this.gm.style.brdr_btm);
|
||||
if(this.progress > 0)
|
||||
Drawing.drawGradient(this.pos_x + 2, this.pos_y + 2, this.progress, this.size_y - 4, this.color | 0xff000000, Util.mixColor(this.color | 0xff000000, 0xff000000));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue