Added setEnabled() method to GuiElement interface and implemented it everywhere

Made GuiFileChooser a child of GuiAdvancedButton instead of GuiButton
This commit is contained in:
CrushedPixel
2015-07-07 16:55:37 +02:00
parent 392db29b34
commit 1b189c0dac
13 changed files with 69 additions and 4 deletions

View File

@@ -78,6 +78,11 @@ public class GuiAdvancedButton extends GuiButton implements GuiElement {
}
@Override
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public void performAction() {
if (action != null) {
action.run();