From 3857800292a7cc078ee05c5487b11a256682bef1 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <12willettsh@gmail.com> Date: Sun, 13 Feb 2022 10:46:44 +0000 Subject: remake theme stuff + move packages around --- .../polyfrost/oneconfig/config/annotations/Slider.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java (limited to 'src/main/java/io/polyfrost/oneconfig/config/annotations/Slider.java') 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(); +} -- cgit