From b7246fa0016888fd52c45f9c77df46f9d791e326 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Fri, 15 Nov 2019 20:09:15 +0800 Subject: Using more of the API instead of the Impl --- .../java/me/shedaniel/rei/api/ConfigObject.java | 31 ---------------------- 1 file changed, 31 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/api/ConfigObject.java') diff --git a/src/main/java/me/shedaniel/rei/api/ConfigObject.java b/src/main/java/me/shedaniel/rei/api/ConfigObject.java index e87662de3..fb5d0e66d 100644 --- a/src/main/java/me/shedaniel/rei/api/ConfigObject.java +++ b/src/main/java/me/shedaniel/rei/api/ConfigObject.java @@ -72,35 +72,4 @@ public interface ConfigObject { boolean doesRegisterRecipesInAnotherThread(); - RelativePoint getChoosePageDialogPoint(); - - void setChoosePageDialogPoint(RelativePoint choosePageDialogPoint); - - public static class RelativePoint { - - private double relativeX, relativeY; - - public RelativePoint(double relativeX, double relativeY) { - this.relativeX = relativeX; - this.relativeY = relativeY; - } - - public double getRelativeX() { - return relativeX; - } - - public double getRelativeY() { - return relativeY; - } - - public double getX(double width) { - return width * relativeX; - } - - public double getY(double height) { - return height * relativeY; - } - - } - } -- cgit