mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-24 22:14:44 +00:00
Clean Up and move guis
This commit is contained in:
1 parent
490feb915f
commit
c93a79887f
76 files changed
+361
-360
No files matched your search
@@ -18,7 +18,9 @@ public class ControlProcessTemporary extends ControlMachineProgress {
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void onRenderBackground(int guiWidth, int guiHeight) {
|
||||
RenderUtil.drawSolidRect(this.getArea(), -4868683);
|
||||
final int w = Math.round(this.getSize().y() * this.progress / 100.0f);
|
||||
RenderUtil.drawSolidRect(new IArea(this.getArea().x(), this.getArea().y(), w, this.getArea().h()), -65536);
|
||||
final int width = Math.round(this.getSize().y() * this.progress / 100.0f);
|
||||
IArea area = new IArea(getArea());
|
||||
area.setWidth(width);
|
||||
RenderUtil.drawSolidRect(area, -65536);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user