From 5514e4b97ab2a7a37bf25cf4a4a57baf8f94e052 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Sat, 30 Apr 2022 18:10:49 +0200 Subject: uni selector --- .../polyfrost/oneconfig/config/interfaces/BasicOption.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/main/java/io/polyfrost/oneconfig/config') 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 @@ -54,6 +54,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 * -- cgit