diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-02 10:19:08 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-02 10:19:08 +0100 |
commit | d5f03a5d3880256a0cfd92d0dbb1ca8f94e8c528 (patch) | |
tree | d26c5745bc2f3bfbf2be358ee75bfb2c9991bbac /src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java | |
parent | 0efc327a74c128fd9b694872643f0fd090ca1363 (diff) | |
download | OneConfig-d5f03a5d3880256a0cfd92d0dbb1ca8f94e8c528.tar.gz OneConfig-d5f03a5d3880256a0cfd92d0dbb1ca8f94e8c528.tar.bz2 OneConfig-d5f03a5d3880256a0cfd92d0dbb1ca8f94e8c528.zip |
images loading changes, directory structure and cleanup of rendering and general code
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java b/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java index 8d19b55..3c02b69 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java +++ b/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java @@ -1,7 +1,5 @@ package io.polyfrost.oneconfig.config.interfaces; -import io.polyfrost.oneconfig.gui.elements.BasicElement; - import java.lang.reflect.Field; @SuppressWarnings({"unused"}) @@ -13,9 +11,9 @@ public abstract class BasicOption { /** * Initialize option * - * @param field variable attached to option (null for category) - * @param name name of option - * @param size size of option, 0 for single column, 1 for double. + * @param field variable attached to option (null for category) + * @param name name of option + * @param size size of option, 0 for single column, 1 for double. */ public BasicOption(Field field, String name, int size) { this.field = field; @@ -48,9 +46,9 @@ public abstract class BasicOption { /** * Function that gets called when drawing option * - * @param vg NanoVG context - * @param x x position - * @param y y position + * @param vg NanoVG context + * @param x x position + * @param y y position */ public abstract void draw(long vg, int x, int y); @@ -58,9 +56,9 @@ public abstract class BasicOption { * Function that gets called last drawing option, * should be used for things that draw above other options * - * @param vg NanoVG context - * @param x x position - * @param y y position + * @param vg NanoVG context + * @param x x position + * @param y y position */ public void drawLast(long vg, int x, int y) { @@ -69,8 +67,8 @@ public abstract class BasicOption { /** * Function that gets called when a key is typed * - * @param key char that has been typed - * @param keyCode code of key + * @param key char that has been typed + * @param keyCode code of key */ public void keyTyped(char key, int keyCode) { } |