GuiAssetAdder now allows to add/remove/edit Assets in a Replay. These Assets are not being saved yet.

This commit is contained in:
CrushedPixel
2015-07-06 16:39:30 +02:00
parent bf7b28d53c
commit 948803571d
14 changed files with 283 additions and 62 deletions

View File

@@ -106,18 +106,7 @@ public class GuiRenderSettings extends GuiScreen {
}
};
bitrateInput = new GuiNumberInput(GuiConstants.RENDER_SETTINGS_BITRATE_INPUT, fontRendererObj, 0, 0, 50, 1D, null, 10000D, false) {
@Override
public void drawTextBox() {
int index = getCursorPosition();
String textBefore = getText();
setText(textBefore+" kbps");
setCursorPosition(index);
super.drawTextBox();
setText(textBefore);
setCursorPosition(index);
}
};
bitrateInput = new GuiNumberInputWithText(GuiConstants.RENDER_SETTINGS_BITRATE_INPUT, fontRendererObj, 0, 0, 50, 1D, null, 10000D, false, " kbps");
xRes.setEnabled(false);
yRes.setEnabled(false);