diff options
| author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-10 17:17:38 +0200 |
|---|---|---|
| committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-10 17:17:38 +0200 |
| commit | 5911d7be04be37bf1c7e781daf0c3031e3af7e94 (patch) | |
| tree | be36e3effcd873bb0172ad5d18c88b476ac1d527 /src/main/java/cc/polyfrost/oneconfig/test | |
| parent | 1394e5344582ee05f31fb491c2cf2b0d160c3201 (diff) | |
| parent | 3aa1e46c963a015906e72d7ae0b4f2ba6a0dbc58 (diff) | |
| download | OneConfig-5911d7be04be37bf1c7e781daf0c3031e3af7e94.tar.gz OneConfig-5911d7be04be37bf1c7e781daf0c3031e3af7e94.tar.bz2 OneConfig-5911d7be04be37bf1c7e781daf0c3031e3af7e94.zip | |
Merge branch 'master' of github.com:Polyfrost/OneConfig
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" ) |
