public class GuiTinkerTabs extends GuiModule { protected static final GuiElement GUI_Tab = new GuiElement(0, 2, 28, 28, 256, 256); protected static final GuiElement GUI_TabActiveL = new GuiElement(0, 32, 28, 32, 256, 256); protected static final GuiElement GUI_TabActiveC = new GuiElement(28, 32, 28, 32, 256, 256); protected static final GuiElement GUI_TabActiveR = new GuiElement(140, 32, 28, 32, 256, 256);
public class GuiButtonItem<T> extends GuiButton { protected static final GuiElement GUI_Button_pressed = new GuiElement(144, 216, 18, 18, 256, 256); protected static final GuiElement GUI_Button_normal = new GuiElement(144 + 18 * 2, 216, 18, 18, 256, 256); protected static final GuiElement GUI_Button_hover = new GuiElement(144 + 18 * 4, 216, 18, 18, 256, 256);
private static final GuiElement TextFieldActive = new GuiElement(0, 210, 102, 12, 256, 256); private static final GuiElement ItemCover = new GuiElement(176, 18, 80, 64); private static final GuiElement SlotBackground = new GuiElement(176, 0, 18, 18); private static final GuiElement SlotBorder = new GuiElement(194, 0, 18, 18); private static final GuiElement SlotSpaceTop = new GuiElement(0, 174 + 2, 18, 2); private static final GuiElement SlotSpaceBottom = new GuiElement(0, 174, 18, 2); private static final GuiElement PanelSpaceL = new GuiElement(0, 174, 5, 4); private static final GuiElement PanelSpaceR = new GuiElement(9, 174, 9, 4); private static final GuiElement BeamLeft = new GuiElement(0, 180, 2, 7); private static final GuiElement BeamRight = new GuiElement(131, 180, 2, 7); private static final GuiElementScalable BeamCenter = new GuiElementScalable(2, 180, 129, 7); protected GuiElement panelDecorationR = PanelSpaceR; protected GuiElement beamL = new GuiElement(0, 0, 0, 0); protected GuiElement beamR = new GuiElement(0, 0, 0, 0); protected GuiElementScalable beamC = new GuiElementScalable(0, 0, 0, 0);
private static GuiElement topLeft = new GuiElement(0,0, 4, 4, 256,256); private static GuiElement topRight = new GuiElement(resW+4,0, 4, 4); private static GuiElement botLeft = new GuiElement(0, resH+4, 4, 4); private static GuiElement botRight = new GuiElement(resW+4, resH+4, 4, 4); private static GuiElement sliderNormal = new GuiElement(0, 83, 3, 5); private static GuiElement sliderHover = sliderNormal.shift(sliderNormal.w, 0); private static GuiElement sliderTop = new GuiElement(3, 88, 3, 4); private static GuiElement sliderBot = new GuiElement(3, 92, 3, 4);
public GuiElement get(int x, int y, int w, int h) { return new GuiElement(x, y, w, h, this.w, this.h); } }
public GuiElement shift(int xd, int yd) { return new GuiElement(this.x + xd, this.y + yd, this.w, this.h, this.texW, this.texH); }
protected GuiElement scala = new GuiElement(176, 76, 52, 52, 256, 256);
public class GuiTinkerTank extends GuiContainer implements IGuiLiquidTank { protected GuiElement scala = new GuiElement(122, 0, 106, 106, 256, 256);
protected GuiElement overlapBottomLeft = GuiGeneric.overlapBottomLeft; protected GuiElement overlapBottomRight = GuiGeneric.overlapBottomRight; protected GuiElement overlapTop = new GuiElement(7, 0, 7, 7, 64, 64); // same as borderTop but only 7 wide