From dfa3067117e96aa630a88952f0e5d4535bee8bf3 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 12 Jan 2019 21:28:36 +0800 Subject: Basic Config --- .../java/me/shedaniel/rei/gui/widget/ButtonWidget.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java') diff --git a/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java index 2a69df8ff..238efc2e3 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/ButtonWidget.java @@ -28,17 +28,17 @@ public abstract class ButtonWidget extends Drawable implements IWidget { private boolean pressed; private Rectangle bounds; - public ButtonWidget(int int_2, int int_3, int int_4, int int_5, String string_1) { + public ButtonWidget(int x, int y, int width, int height, String text) { this.width = 200; this.height = 20; this.enabled = true; this.visible = true; - this.x = int_2; - this.y = int_3; - this.width = int_4; - this.height = int_5; - this.text = string_1; - this.bounds = new Rectangle(x, y, width, height); + this.x = x; + this.y = y; + this.width = width; + this.height = height; + this.text = text; + this.bounds = new Rectangle(x, this.y, this.width, this.height); } public Rectangle getBounds() { -- cgit