use of buildcraft.lib.gui.elem.ToolTip in project BuildCraft by BuildCraft.
the class GuiZonePlan method initGui.
@SuppressWarnings("unchecked")
@Override
public void initGui() {
super.initGui();
tool = new GuiBetterButton(0, guiLeft + 27, guiTop + 111, 15, StandardButtonTextureSets.SMALL_BUTTON, "+");
tool.setToolTip(new ToolTip(new ToolTipLine(LocaleUtil.localize("tip.tool.add"))));
buttonList.add(tool);
fsButton = new GuiBetterButton(1, guiLeft + 44, guiTop + 111, 20, StandardButtonTextureSets.SMALL_BUTTON, "FS");
fsButton.setToolTip(new ToolTip(new ToolTipLine(LocaleUtil.localize("tip.tool.fullscreen"))));
buttonList.add(fsButton);
savedButtonList = buttonList;
textField = new GuiTextField(1, this.fontRendererObj, 28, 129, 156, 12);
textField.setMaxStringLength(DefaultProps.MAX_NAME_SIZE);
textField.setText(zonePlan.mapName);
textField.setFocused(true);
}
Aggregations