summaryrefslogtreecommitdiff
path: root/eclipse/Jewelrycraft/common/darkknight/jewelrycraft/container/GuiTab.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2014-04-14 12:03:51 +0300
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2014-04-14 12:03:51 +0300
commit4ea6a1052438ef1d8d42057d2a71755383166227 (patch)
tree94def1bf66c59583d8e8aa7e3d1117a6f5b56b62 /eclipse/Jewelrycraft/common/darkknight/jewelrycraft/container/GuiTab.java
parent1a692ab45df3d88a6cc247cc9f4c0a41c7715264 (diff)
More updating
Diffstat (limited to 'eclipse/Jewelrycraft/common/darkknight/jewelrycraft/container/GuiTab.java')
-rw-r--r--eclipse/Jewelrycraft/common/darkknight/jewelrycraft/container/GuiTab.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/eclipse/Jewelrycraft/common/darkknight/jewelrycraft/container/GuiTab.java b/eclipse/Jewelrycraft/common/darkknight/jewelrycraft/container/GuiTab.java
new file mode 100644
index 0000000..c092ba6
--- /dev/null
+++ b/eclipse/Jewelrycraft/common/darkknight/jewelrycraft/container/GuiTab.java
@@ -0,0 +1,37 @@
+package darkknight.jewelrycraft.container;
+
+import cpw.mods.fml.relauncher.Side;
+import cpw.mods.fml.relauncher.SideOnly;
+import darkknight.jewelrycraft.client.GuiGuide;
+
+@SideOnly(Side.CLIENT)
+public abstract class GuiTab extends GuiRectangle
+{
+ int values, del;
+ private String name;
+
+ public GuiTab(String name, int id)
+ {
+ super(-62, 10 + 19*id, 19, 18);
+ this.name = name;
+ values = 0;
+ del = 0;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public abstract void drawBackground(GuiGuide gui, int x, int y, int page);
+ public abstract void drawForeground(GuiGuide gui, int x, int y, int page);
+ public void mouseClick(GuiGuide gui, int x, int y, int button) {}
+ public void mouseMoveClick(GuiGuide gui, int x, int y, int button, long timeSinceClicked) {}
+ public void mouseReleased(GuiGuide gui, int x, int y, int button) {}
+
+ public int getMaxPages()
+ {
+ return 1;
+ }
+
+}