aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/test
diff options
context:
space:
mode:
authornextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-05-01 12:36:32 +0100
committernextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-05-01 12:36:32 +0100
commit60f1c29872465a25be4f2c4ca8c5eb1abf69f988 (patch)
tree6ae8f5a36d80106852478f670df9b45ae137dd20 /src/main/java/io/polyfrost/oneconfig/test
parent5514e4b97ab2a7a37bf25cf4a4a57baf8f94e052 (diff)
downloadOneConfig-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.java14
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",