diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-01 12:36:32 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-01 12:36:32 +0100 |
commit | 60f1c29872465a25be4f2c4ca8c5eb1abf69f988 (patch) | |
tree | 6ae8f5a36d80106852478f670df9b45ae137dd20 /src/main/java/io/polyfrost/oneconfig/test | |
parent | 5514e4b97ab2a7a37bf25cf4a4a57baf8f94e052 (diff) | |
download | OneConfig-60f1c29872465a25be4f2c4ca8c5eb1abf69f988.tar.gz OneConfig-60f1c29872465a25be4f2c4ca8c5eb1abf69f988.tar.bz2 OneConfig-60f1c29872465a25be4f2c4ca8c5eb1abf69f988.zip |
config elements
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/test/TestConfig.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java index 7b99cc1..3ac04bf 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java +++ b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java @@ -13,15 +13,15 @@ public class TestConfig extends Config { @Option( name = "Test dual thing", subcategory = "Test", - optionLeft = "FUNNY", optionRight = "not funny", - type = OptionType.DUAL_OPTION + min = 3f, max = 127f, + type = OptionType.SLIDER ) - public static boolean switchTest; + public static float sliderText; @Option( name = "Test string", subcategory = "Test", - optionLeft = "HI", optionRight = "BYE", + options = {"NO", "YES"}, type = OptionType.DUAL_OPTION ) public static boolean switchTest1; @@ -29,12 +29,12 @@ public class TestConfig extends Config { @Option( name = "Test dual option", subcategory = "Test", - optionRight = "cool", optionLeft = "not cool", - type = OptionType.DUAL_OPTION, - size = 2 + options = {"HI", "BYE"}, + type = OptionType.DUAL_OPTION ) public static boolean switchTest2; + @Option( name = "Test option", subcategory = "Test", |