LoadingByte / GuiLib

A Minecraft library that allows modders to create more advanced Minecraft GUIs.
https://loadingbyte.com/wiki/GuiLib
Other
0 stars 0 forks source link

Add the `enabled` property to more widgets #7

Open LoadingByte opened 7 years ago

LoadingByte commented 7 years ago

Currently, the only widget you can disable via setEnabled(false) is the plain old button. However, being enabled disabled is a property that makes sense on most widgets. There should be a WidgetDisableable interface, which requires implementation of two isEnabled() and setEnabled(boolean) methods.