aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-30 18:10:49 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-30 18:10:49 +0200
commit5514e4b97ab2a7a37bf25cf4a4a57baf8f94e052 (patch)
tree6bc07d092ae94f89f6013563fa7c5d3ceccfdbae /src/main/java/io/polyfrost/oneconfig/config
parent0283a6618360ed473da42c1144da5b44146155bb (diff)
downloadOneConfig-5514e4b97ab2a7a37bf25cf4a4a57baf8f94e052.tar.gz
OneConfig-5514e4b97ab2a7a37bf25cf4a4a57baf8f94e052.tar.bz2
OneConfig-5514e4b97ab2a7a37bf25cf4a4a57baf8f94e052.zip
uni selector
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java12
1 files changed, 12 insertions, 0 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 7c9771c..8d19b55 100644
--- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java
+++ b/src/main/java/io/polyfrost/oneconfig/config/interfaces/BasicOption.java
@@ -55,6 +55,18 @@ public abstract class BasicOption {
public abstract void draw(long vg, int x, int y);
/**
+ * 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
+ */
+ public void drawLast(long vg, int x, int y) {
+
+ }
+
+ /**
* Function that gets called when a key is typed
*
* @param key char that has been typed