diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-04-16 12:33:00 +0900 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-04-16 12:33:00 +0900 |
commit | f10f1165a7c2ea88ce7bb265d51b52eeaa64d8f8 (patch) | |
tree | fc1e827d37476b510bca7e102ffad17a46052bc6 /src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java | |
parent | fff43b4d2a89ae50aa1d315fc4dad65055e654be (diff) | |
download | OneConfig-f10f1165a7c2ea88ce7bb265d51b52eeaa64d8f8.tar.gz OneConfig-f10f1165a7c2ea88ce7bb265d51b52eeaa64d8f8.tar.bz2 OneConfig-f10f1165a7c2ea88ce7bb265d51b52eeaa64d8f8.zip |
nanovg optimizations + image renderer
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java b/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java index 67e0a68..3f2fa27 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java +++ b/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java @@ -15,6 +15,7 @@ public class TestNanoVGGui extends GuiScreen { NanoVGUtils.drawRect(vg, 0, 0, 300, 300, Color.BLUE.getRGB()); NanoVGUtils.drawRoundedRect(vg, 305, 305, 100, 100, Color.YELLOW.getRGB(), 8); NanoVGUtils.drawString(vg, "Hello!", 500, 500, Color.WHITE.getRGB(), 50); + NanoVGUtils.drawImage(vg, "/assets/oneconfig/textures/hudsettings.png", 10, 10, 400, 400); }); } } |