From 117d80ff0e343eecf260fd363db896166d8061d7 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Thu, 28 Apr 2022 20:45:50 +0200 Subject: better mousepressed handling, some more option types and some other things I forgor --- .../io/polyfrost/oneconfig/config/data/InfoType.java | 8 ++++++++ .../polyfrost/oneconfig/config/data/OptionType.java | 20 +++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 src/main/java/io/polyfrost/oneconfig/config/data/InfoType.java (limited to 'src/main/java/io/polyfrost/oneconfig/config/data') 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 } -- cgit