summaryrefslogtreecommitdiff
path: root/java/darkknight/jewelrycraft/client/GuiJewelry.java
blob: bbc6236190915d8d90f62043738e1c61cffbadbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package darkknight.jewelrycraft.client;

import org.lwjgl.opengl.GL11;

import darkknight.jewelrycraft.container.ContainerJewelryTab;
import darkknight.jewelrycraft.container.ContainerRingChest;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.util.ResourceLocation;

public class GuiJewelry extends GuiContainer
{    
    public GuiJewelry(ContainerJewelryTab containerJewelryTab)
    {
        super(containerJewelryTab);
        xSize = 194;
        ySize = 166;
    }
    
    @Override
    public void drawGuiContainerBackgroundLayer(float f, int mouseX, int mouseY)
    {
        GL11.glColor3f(1, 1, 1);        
        Minecraft.getMinecraft().getTextureManager().bindTexture(new ResourceLocation("jewelrycraft", "textures/gui/jewelry_tab.png"));        
        drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
    }
    
    @Override
    public void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
    {
    }
}