diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-06-09 12:34:08 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-06-09 12:34:08 +0100 |
commit | 3aa1e46c963a015906e72d7ae0b4f2ba6a0dbc58 (patch) | |
tree | 2076f0c00ca7b91e3bcaf6f76bd606aa941e3c7f /src/main/java/cc/polyfrost/oneconfig/test | |
parent | 9624c38e07c7f18ec754cf5ee14d54df31e708dc (diff) | |
download | OneConfig-3aa1e46c963a015906e72d7ae0b4f2ba6a0dbc58.tar.gz OneConfig-3aa1e46c963a015906e72d7ae0b4f2ba6a0dbc58.tar.bz2 OneConfig-3aa1e46c963a015906e72d7ae0b4f2ba6a0dbc58.zip |
a few little things that I noticed when doc'ing
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java index ab3b09f..dc3babd 100644 --- a/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java @@ -14,45 +14,45 @@ public class TestConfig extends Config { @Switch( name = "Test Switch", - size = 2 + size = OptionSize.DUAL ) public boolean testSwitch = false; @Checkbox( name = "Check box", - size = 2 + size = OptionSize.DUAL ) public static boolean testCheckBox = true; @Info( text = "Test Info", type = InfoType.ERROR, - size = 2 + size = OptionSize.DUAL ) boolean ignored; @Header( text = "Test Header", - size = 2 + size = OptionSize.DUAL ) boolean ignored1; @Dropdown( name = "Test Dropdown", options = {"option1", "option2", "option3"}, - size = 2 + size = OptionSize.DUAL ) private int testDropdown = 0; @Color( name = "Test Color", - size = 2 + size = OptionSize.DUAL ) OneColor testColor = new OneColor(0, 255, 255); @Text( name = "Test Text", - size = 2 + size = OptionSize.DUAL ) private static String testText = "Epic Text"; @@ -71,7 +71,7 @@ public class TestConfig extends Config { @KeyBind( name = "Test KeyBind", - size = 2 + size = OptionSize.DUAL ) OneKeyBind testKeyBind = new OneKeyBind(UKeyboard.KEY_LSHIFT, UKeyboard.KEY_S); @@ -79,7 +79,7 @@ public class TestConfig extends Config { name = "Test Dual Option", left = "YES", right = "NO", - size = 2 + size = OptionSize.DUAL ) boolean testDualOption = false; @@ -100,14 +100,14 @@ public class TestConfig extends Config { @Switch( name = "Test Switch", - size = 2, + size = OptionSize.DUAL, category = "Category 2" ) boolean testSwitch1 = false; @Switch( name = "Test Switch", - size = 2, + size = OptionSize.DUAL, category = "Category 2", subcategory = "Test Subcategory" ) |