Improve fluid rendering

This commit is contained in:
Nedelosk committed 2017-01-23 15:44:46 +01:00
1 parent f0d8d6b89d
commit 87cf7386c6
83 files changed
+351 -306

No files matched your search

@@ -24,10 +24,10 @@ class ControlBreedingProgress extends Control {
@Override
public void onRenderBackground() {
CraftGUI.Render.texture(CraftGUITexture.PanelBlack, this.getArea());
CraftGUI.render.texture(CraftGUITexture.PanelBlack, this.getArea());
final IArea area = this.getArea().inset(1);
area.setSize(new IPoint(area.size().x() * this.percentage, area.size().y()));
CraftGUI.Render.colour(this.colour);
CraftGUI.Render.texture(ControlBreedingProgress.Progress, area);
CraftGUI.render.colour(this.colour);
CraftGUI.render.texture(ControlBreedingProgress.Progress, area);
}
}