mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-17 11:05:32 +00:00
Refactoring custom GUI components
This commit is contained in:
1 parent
e83d0e3fa6
commit
2475710a6a
70 files changed
+353
-343
No files matched your search
@@ -68,10 +68,10 @@ public class ControlFluidDisplay extends Control implements ITooltip {
|
||||
GL11.glPushMatrix();
|
||||
float scale = getSize().x() / 16.0f;
|
||||
GL11.glScalef(scale, scale, 1.0f);
|
||||
CraftGUI.Render.iconBlock(IPoint.ZERO, itemStack.getFluid().getIcon(itemStack));
|
||||
CraftGUI.render.iconBlock(IPoint.ZERO, itemStack.getFluid().getIcon(itemStack));
|
||||
GL11.glPopMatrix();
|
||||
} else {
|
||||
CraftGUI.Render.iconBlock(IPoint.ZERO, itemStack.getFluid().getIcon(itemStack));
|
||||
CraftGUI.render.iconBlock(IPoint.ZERO, itemStack.getFluid().getIcon(itemStack));
|
||||
}
|
||||
GL11.glDisable(3042);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user