add basic scrolling

This commit is contained in:
Raoul Van den Berge
2015-12-20 10:40:20 +01:00
parent 6b1a3283ff
commit 414d40499b
6 changed files with 51 additions and 27 deletions

View File

@@ -3,7 +3,6 @@ package storagecraft.gui;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import org.lwjgl.opengl.GL11;
import storagecraft.StorageCraft;
import storagecraft.container.ContainerImporter;
import storagecraft.network.MessageImporterUpdate;
@@ -66,8 +65,6 @@ public class GuiImporter extends GuiMachine {
@Override
protected void drawGuiContainerBackgroundLayer(float renderPartialTicks, int mouseX, int mouseY) {
GL11.glColor3f(1.0F, 1.0F, 1.0F);
mc.getTextureManager().bindTexture(IMPORTER_RESOURCE);
drawTexturedModalRect((this.width - xSize) / 2, (this.height - ySize) / 2, 0, 0, xSize, ySize);