aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/data
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-28 20:45:50 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-28 20:45:50 +0200
commit117d80ff0e343eecf260fd363db896166d8061d7 (patch)
tree8ef0ead687b69caf646874458beefa1d1710a38a /src/main/java/io/polyfrost/oneconfig/config/data
parent7c5123ff64c751c19411982189321be3511a9815 (diff)
downloadOneConfig-117d80ff0e343eecf260fd363db896166d8061d7.tar.gz
OneConfig-117d80ff0e343eecf260fd363db896166d8061d7.tar.bz2
OneConfig-117d80ff0e343eecf260fd363db896166d8061d7.zip
better mousepressed handling, some more option types and some other things I forgor
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/data')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java8
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java20
2 files changed, 27 insertions, 1 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java b/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java
new file mode 100644
index 0000000..1b96161
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java
@@ -0,0 +1,8 @@
+package io.polyfrost.oneconfig.config.data;
+
+public enum InfoType {
+ INFO,
+ WARNING,
+ ERROR,
+ SUCCESS
+}
diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java b/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java
index 22c92c0..61bb516 100644
--- a/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java
+++ b/src/main/java/io/polyfrost/oneconfig/config/data/OptionType.java
@@ -1,6 +1,24 @@
package io.polyfrost.oneconfig.config.data;
public enum OptionType {
+ /**
+ * Type: class
+ */
PAGE,
- SWITCH
+ /**
+ * Type: boolean
+ */
+ SWITCH,
+ /**
+ * Type: boolean
+ */
+ CHECKBOX,
+ DUAL_OPTION,
+ ARROW_SELECTOR,
+ TEXT,
+ SLIDER,
+ COLOR,
+ DROPDOWN,
+ MULTI_DROPDOWN,
+ INFO
}