diff --git a/src/common/java/com/minelittlepony/gui/IGuiTooltipped.java b/src/common/java/com/minelittlepony/gui/IGuiTooltipped.java deleted file mode 100644 index edb3acaa..00000000 --- a/src/common/java/com/minelittlepony/gui/IGuiTooltipped.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.minelittlepony.gui; - -import net.minecraft.client.Minecraft; - -public interface IGuiTooltipped { - void renderToolTip(Minecraft mc, int mouseX, int mouseY); -} diff --git a/src/common/java/com/minelittlepony/gui/IconicButton.java b/src/common/java/com/minelittlepony/gui/IconicButton.java deleted file mode 100644 index 418b7f87..00000000 --- a/src/common/java/com/minelittlepony/gui/IconicButton.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.minelittlepony.gui; - -import net.minecraft.client.Minecraft; -import net.minecraft.init.Items; -import net.minecraft.item.ItemStack; - -public class IconicButton extends Button { - - private ItemStack itemStack = ItemStack.EMPTY; - - public IconicButton(int x, int y, IGuiAction callback) { - super(x, y, 20, 20, "", callback); - } - - public IconicButton setIcon(ItemStack stack) { - itemStack = stack; - return this; - } - - public IconicButton setIcon(ItemStack stack, int colour) { - Items.LEATHER_LEGGINGS.setColor(stack, colour); - return setIcon(stack); - } - - @Override - public void drawButton(Minecraft mc, int mouseX, int mouseY, float partialTicks) { - super.drawButton(mc, mouseX, mouseY, partialTicks); - - mc.getRenderItem().renderItemIntoGUI(itemStack, x + 2, y + 2); - } -}