aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/gui/widget/TextBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/gui/widget/TextBox.java')
-rwxr-xr-xsrc/main/java/me/shedaniel/gui/widget/TextBox.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/me/shedaniel/gui/widget/TextBox.java b/src/main/java/me/shedaniel/gui/widget/TextBox.java
index 40cf9924b..3798fa5fc 100755
--- a/src/main/java/me/shedaniel/gui/widget/TextBox.java
+++ b/src/main/java/me/shedaniel/gui/widget/TextBox.java
@@ -1,6 +1,6 @@
package me.shedaniel.gui.widget;
-import me.shedaniel.gui.AEIRenderHelper;
+import me.shedaniel.gui.REIRenderHelper;
import net.minecraft.client.gui.GuiTextField;
import java.awt.*;
@@ -14,7 +14,7 @@ public class TextBox extends Control implements IFocusable {
public TextBox(int x, int y, int width, int height) {
super(x, y, width, height);
- textField = new GuiTextField(-1, AEIRenderHelper.getFontRenderer(), x, y, width, height);
+ textField = new GuiTextField(-1, REIRenderHelper.getFontRenderer(), x, y, width, height);
this.onClick = this::doMouseClick;
this.onKeyDown = this::onKeyPressed;
this.charPressed = this::charTyped;
@@ -36,7 +36,7 @@ public class TextBox extends Control implements IFocusable {
}
protected boolean doMouseClick(int button) {
- Point mouseLoc = AEIRenderHelper.getMouseLoc();
+ Point mouseLoc = REIRenderHelper.getMouseLoc();
if (!hasFocus())
setFocused(true);
return textField.mouseClicked(mouseLoc.x, mouseLoc.y, 0);
@@ -45,7 +45,7 @@ public class TextBox extends Control implements IFocusable {
protected boolean onKeyPressed(int first, int second, int third) {
boolean handled = textField.keyPressed(first, second, third);
if (handled) {
- AEIRenderHelper.updateSearch();
+ REIRenderHelper.updateSearch();
}
return handled;
@@ -61,7 +61,7 @@ public class TextBox extends Control implements IFocusable {
protected void charTyped(char p_charTyped_1_, int p_charTyped_2_) {
textField.charTyped(p_charTyped_1_, p_charTyped_2_);
- AEIRenderHelper.updateSearch();
+ REIRenderHelper.updateSearch();
}
@Override