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

@@ -67,4 +67,11 @@ public class ComposedElement implements GuiElement {
part.tick(mc);
}
}
@Override
public void setEnabled(boolean enabled) {
for(GuiElement part : parts) {
part.setEnabled(enabled);
}
}
}