diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-04-16 01:55:58 +0900 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-04-16 01:55:58 +0900 |
commit | fff43b4d2a89ae50aa1d315fc4dad65055e654be (patch) | |
tree | 1868409a8282572894cafe73dd97bbf0009bbb7e /src/main/java/io/polyfrost/oneconfig/test | |
parent | 30df3e578cef533cacedf737449bbd35d4ea5d11 (diff) | |
download | OneConfig-fff43b4d2a89ae50aa1d315fc4dad65055e654be.tar.gz OneConfig-fff43b4d2a89ae50aa1d315fc4dad65055e654be.tar.bz2 OneConfig-fff43b4d2a89ae50aa1d315fc4dad65055e654be.zip |
misc things
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java b/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java index 74d6a1e..67e0a68 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java +++ b/src/main/java/io/polyfrost/oneconfig/test/TestNanoVGGui.java @@ -10,10 +10,11 @@ public class TestNanoVGGui extends GuiScreen { @Override public void drawScreen(int mouseX, int mouseY, float partialTicks) { super.drawScreen(mouseX, mouseY, partialTicks); + drawRect(0, 0, width, height, Color.BLACK.getRGB()); NanoVGUtils.setupAndDraw((vg) -> { NanoVGUtils.drawRect(vg, 0, 0, 300, 300, Color.BLUE.getRGB()); - NanoVGUtils.drawRoundedRect(vg, 305, 305, 100, 100, Color.BLACK.getRGB(), 8); - NanoVGUtils.drawString(vg, "Hello!", 500, 500, Color.BLACK.getRGB(), 50); + NanoVGUtils.drawRoundedRect(vg, 305, 305, 100, 100, Color.YELLOW.getRGB(), 8); + NanoVGUtils.drawString(vg, "Hello!", 500, 500, Color.WHITE.getRGB(), 50); }); } } |