}
public void initGui() {
int textWidth;
StringTranslate translate = StringTranslate.getInstance();
singleplayer = new GenericButton(translate.translateKey("menu.singleplayer"));
singleplayer.setGeometry(width - 110, height - 155, 100, 20);
multiplayer = new GenericButton(translate.translateKey("menu.multiplayer"));
multiplayer.setGeometry(width - 110, height - 130, 100, 20);
resources = new GenericButton(translate.translateKey("options.resourcepack"));
resources.setGeometry(width - 110, height - 105, 100, 20);
buildNumber = new GenericLabel(SpoutClient.getSpoutcraftVersion() + SpoutClient.getSpoutcraftBuild());
textWidth = Spoutcraft.getRenderDelegate().getMinecraftFont().getTextWidth(buildNumber.getText());
buildNumber.setTextColor(new Color(0x6CC0DC));
buildNumber.setGeometry(Math.min(90 - textWidth, width - 296 - textWidth), height - 99, 75, 20);
about = new GenericButton("About");
about.setGeometry(Math.min(98, width - 288), height - 105, 51, 20);
options = new GenericButton(translate.translateKey("menu.options"));
options.setGeometry(Math.min(159, width - 227), height - 105, 51, 20);
quit = new GenericButton(translate.translateKey("menu.quit"));
quit.setGeometry(Math.min(220, width - 166), height - 105, 61, 20);
background.setGeometry(0, 0, width, height);
background.setPriority(RenderPriority.Highest);
background.setAnchor(WidgetAnchor.TOP_LEFT);