Added PathPreviewRenderer to draw a Preview of the current Camera Path into the World
Added KeyframesModifyEvent to be dispatched whenever the ReplayHandler's Keyframe List is changed Refactored Event package Reworked Settings GUI
This commit is contained in:
@@ -20,6 +20,12 @@ public class GuiToggleButton extends GuiAdvancedButton {
|
||||
this.displayString = baseText+values[value];
|
||||
}
|
||||
|
||||
public GuiToggleButton(int buttonId, int x, int y, int width, int height, String buttonText, String[] values) {
|
||||
this(buttonId, x, y, buttonText, values);
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean mousePressed(Minecraft mc, int mouseX, int mouseY) {
|
||||
boolean success = super.mousePressed(mc, mouseX, mouseY);
|
||||
@@ -41,6 +47,7 @@ public class GuiToggleButton extends GuiAdvancedButton {
|
||||
|
||||
public void setValue(int value) {
|
||||
this.value = value;
|
||||
this.displayString = baseText+values[value];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user