Support for arbitrarily texture-sizes for scaled elements

This commit is contained in:
Bernhard Bonigl committed 2015-11-18 18:42:18 +01:00
1 parent 40b55f9f06
commit 97931ac9f0
1 file changed
+4
@@ -7,6 +7,10 @@ import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class GuiElementScalable extends GuiElement {
public GuiElementScalable(int x, int y, int w, int h, int texW, int texH) {
super(x, y, w, h, texW, texH);
}
public GuiElementScalable(int x, int y, int w, int h) {
super(x, y, w, h);
}