package com.enderio.core.api.client.gui;

import javax.annotation.Nonnull;

import com.enderio.core.api.client.render.IWidgetIcon;

import net.minecraft.client.gui.GuiButton;

public interface ITabPanel {

  void onGuiInit(int x, int y, int width, int height);

  void deactivate();

  @Nonnull
  IWidgetIcon getIcon();

  void render(float par1, int par2, int par3);

  void actionPerformed(@Nonnull GuiButton guiButton);

  void mouseClicked(int x, int y, int par3);

  void keyTyped(char par1, int par2);

  void updateScreen();

}

@@ -35,16 +35,44 @@
 t.gui;%0A%0A
+import java.awt.Rectangle;%0A%0A
 import j
@@ -195,16 +195,60 @@
 iButton;
+%0Aimport net.minecraft.util.ResourceLocation;
 %0A%0Apublic
@@ -597,11 +597,142 @@
 reen();%0A
+  %0A  /**%0A   * @return The location of the texture used for slot backgrounds, etc.%0A   */%0A  @Nonnull%0A  ResourceLocation getTexture();
 %0A%7D%0A

Add getTexture to ITabPanel