aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java
diff options
context:
space:
mode:
authornextdaydelivery <12willettsh@gmail.com>2022-02-13 10:46:44 +0000
committernextdaydelivery <12willettsh@gmail.com>2022-02-13 10:46:44 +0000
commit3857800292a7cc078ee05c5487b11a256682bef1 (patch)
tree8f8196234469da7fccf3ea54ff417e47ea32b5d3 /src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java
parent78274eb2b66b27052fe32960916fa4419202dc76 (diff)
downloadOneConfig-3857800292a7cc078ee05c5487b11a256682bef1.tar.gz
OneConfig-3857800292a7cc078ee05c5487b11a256682bef1.tar.bz2
OneConfig-3857800292a7cc078ee05c5487b11a256682bef1.zip
remake theme stuff + move packages around
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java b/src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java
new file mode 100644
index 0000000..cf8bfcd
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java
@@ -0,0 +1,16 @@
+package io.polyfrost.oneconfig.config.annotations;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.FIELD)
+public @interface Slider {
+ String name();
+ String description() default "";
+ float min();
+ float max();
+ float precision();
+}