diff --git a/src/common/java/com/minelittlepony/gui/IGuiTooltipped.java b/src/common/java/com/minelittlepony/gui/IGuiTooltipped.java new file mode 100644 index 00000000..edb3acaa --- /dev/null +++ b/src/common/java/com/minelittlepony/gui/IGuiTooltipped.java @@ -0,0 +1,7 @@ +package com.minelittlepony.gui; + +import net.minecraft.client.Minecraft; + +public interface IGuiTooltipped { + void renderToolTip(Minecraft mc, int mouseX, int mouseY); +} diff --git a/src/hdskins/java/com/minelittlepony/gui/Button.java b/src/hdskins/java/com/minelittlepony/gui/Button.java index 247d49a5..7963ca56 100644 --- a/src/hdskins/java/com/minelittlepony/gui/Button.java +++ b/src/hdskins/java/com/minelittlepony/gui/Button.java @@ -7,7 +7,7 @@ import com.google.common.base.Splitter; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiButton; -public class Button extends GuiButton implements IActionable { +public class Button extends GuiButton implements IActionable, IGuiTooltipped { private IGuiAction