aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2022-11-17 17:30:03 +0000
committerisXander <xandersmith2008@gmail.com>2022-11-17 17:30:03 +0000
commita79f21c5b7ba20469797f3f9e424f88d77f0927d (patch)
tree1bdc0445755fb71a5bcee084981ce3a85e77265b /src
parent3a86e9d2ba89466f7f9ef51c29eb5879bcb8a98e (diff)
downloadYetAnotherConfigLib-a79f21c5b7ba20469797f3f9e424f88d77f0927d.tar.gz
YetAnotherConfigLib-a79f21c5b7ba20469797f3f9e424f88d77f0927d.tar.bz2
YetAnotherConfigLib-a79f21c5b7ba20469797f3f9e424f88d77f0927d.zip
make tickbox & boolean controller element constructors public
Diffstat (limited to 'src')
-rw-r--r--src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java2
-rw-r--r--src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java b/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java
index b7a77dd..7037ff5 100644
--- a/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java
+++ b/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java
@@ -102,7 +102,7 @@ public class BooleanController implements Controller<Boolean> {
}
public static class BooleanControllerElement extends ControllerWidget<BooleanController> {
- private BooleanControllerElement(BooleanController control, YACLScreen screen, Dimension<Integer> dim) {
+ public BooleanControllerElement(BooleanController control, YACLScreen screen, Dimension<Integer> dim) {
super(control, screen, dim);
}
diff --git a/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java b/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java
index ff693a9..193f5a6 100644
--- a/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java
+++ b/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java
@@ -50,7 +50,7 @@ public class TickBoxController implements Controller<Boolean> {
}
public static class TickBoxControllerElement extends ControllerWidget<TickBoxController> {
- private TickBoxControllerElement(TickBoxController control, YACLScreen screen, Dimension<Integer> dim) {
+ public TickBoxControllerElement(TickBoxController control, YACLScreen screen, Dimension<Integer> dim) {
super(control, screen, dim);
}