From 8a01f36d1021159f2c49ae8083febc046a4a8502 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> Date: Mon, 25 Jul 2022 13:01:16 +0100 Subject: page button changes (#71) --- .../java/cc/polyfrost/oneconfig/test/TestConfig_Test.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'versions/src/main/java/cc/polyfrost/oneconfig') diff --git a/versions/src/main/java/cc/polyfrost/oneconfig/test/TestConfig_Test.java b/versions/src/main/java/cc/polyfrost/oneconfig/test/TestConfig_Test.java index 3b7490c..94f3b3b 100644 --- a/versions/src/main/java/cc/polyfrost/oneconfig/test/TestConfig_Test.java +++ b/versions/src/main/java/cc/polyfrost/oneconfig/test/TestConfig_Test.java @@ -7,6 +7,7 @@ import cc.polyfrost.oneconfig.config.data.*; import cc.polyfrost.oneconfig.config.Config; import cc.polyfrost.oneconfig.config.data.ModType; import cc.polyfrost.oneconfig.config.migration.VigilanceMigrator; +import cc.polyfrost.oneconfig.gui.pages.HomePage; import cc.polyfrost.oneconfig.libs.universal.UChat; import cc.polyfrost.oneconfig.libs.universal.UKeyboard; @@ -25,6 +26,16 @@ public class TestConfig_Test extends Config { ) public static boolean testCheckBox = true; + @CustomOption + + + @Page( + name = "An actual page", + description = "yes very cool", + location = PageLocation.BOTTOM + ) + private final cc.polyfrost.oneconfig.gui.pages.Page page = new HomePage(); + @Button( name = "hello", text = "click" -- cgit