mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 19:59:49 +00:00
Move static rendering methods to RenderUtil
This commit is contained in:
1 parent
9c4b081f6d
commit
460a7db190
42 files changed
+442
-414
No files matched your search
@@ -8,6 +8,7 @@ import binnie.craftgui.core.ITooltip;
|
||||
import binnie.craftgui.core.IWidget;
|
||||
import binnie.craftgui.core.Tooltip;
|
||||
import binnie.craftgui.core.geometry.IArea;
|
||||
import binnie.craftgui.core.renderer.RenderUtil;
|
||||
import binnie.craftgui.resource.minecraft.CraftGUITexture;
|
||||
import forestry.api.apiculture.IAlleleBeeSpecies;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
@@ -76,7 +77,7 @@ public class ControlClimateBar extends Control implements ITooltip {
|
||||
} else {
|
||||
colour = this.tempColours[i];
|
||||
}
|
||||
CraftGUI.render.solid(new IArea(x + 1, 1, w, this.getSize().y() - 2), colour);
|
||||
RenderUtil.drawSolidRect(new IArea(x + 1, 1, w, this.getSize().y() - 2), colour);
|
||||
}
|
||||
}
|
||||
CraftGUI.render.texture(CraftGUITexture.EnergyBarGlass, this.getArea());
|
||||
|
||||
Reference in new issue
Block a user