mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 08:24:47 +00:00
Fixed textured GUI buttons not working with images of different sizes.
This commit is contained in:
1 parent
d8a57da09f
commit
ee24240f3b
1 file changed
+8
@@ -27,4 +27,12 @@ public interface IButton extends ICustomGuiComponent {
|
||||
int getTextureY();
|
||||
|
||||
IButton setTextureOffset(int textureX, int textureY);
|
||||
|
||||
void setScale(float scale);
|
||||
|
||||
float getScale();
|
||||
|
||||
void setEnabled(boolean enabled);
|
||||
|
||||
boolean isEnabled();
|
||||
}
|
||||
Reference in new issue
Block a user