@@ -0,0 +1,1498 @@
+package net.mcft.copy.backpacks.client.gui;%0A%0Aimport net.minecraftforge.fml.relauncher.Side;%0Aimport net.minecraftforge.fml.relauncher.SideOnly;%0A%0Aimport net.mcft.copy.backpacks.client.GuiTextureResource;%0A%0A@SideOnly(Side.CLIENT)%0Apublic class GuiImage extends GuiElementBase %7B%0A%09%0A%09private GuiTextureResource _texture;%0A%09private int _texU, _texV;%0A%09%0A%09public GuiImage(int width, int height, GuiTextureResource texture)%0A%09%09%7B this(width, height, texture, 0, 0); %7D%0A%09public GuiImage(int width, int height, GuiTextureResource texture, int u, int v)%0A%09%09%7B this(0, 0, width, height, texture, u, v); %7D%0A%09public GuiImage(int x, int y, int width, int height,%0A%09                GuiTextureResource texture, int u, int v) %7B%0A%09%09setPosition(x, y);%0A%09%09setSize(width, height);%0A%09%09setTexture(texture, u, v);%0A%09%09setTextureUV(u, v);%0A%09%7D%0A%09%0A%09public GuiTextureResource getTexture() %7B return _texture; %7D%0A%09public void setTexture(GuiTextureResource value) %7B _texture = value; %7D%0A%09%0A%09public int getTextureU() %7B return _texU; %7D%0A%09public int getTextureV() %7B return _texV; %7D%0A%09public void setTextureUV(int u, int v) %7B _texU = u; _texV = v; %7D%0A%09%0A%09public void setTexture(GuiTextureResource texture, int u, int v)%0A%09%09%7B setTexture(texture); setTextureUV(u, v); %7D%0A%09%0A%09@Override%0A%09public void draw(int mouseX, int mouseY, float partialTicks) %7B%0A%09%09GuiTextureResource texture = getTexture();%0A%09%09if (texture == null) return;%0A%09%09setRenderColorARGB(Color.WHITE);%0A%09%09texture.bind();%0A%09%09texture.drawQuad(0, 0, getTextureU(), getTextureV(), getWidth(), getHeight());%0A%09%7D%0A%09%0A%7D%0A

Add GuiImage