aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/OneConfig.java
diff options
context:
space:
mode:
authornextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-05-02 10:19:08 +0100
committernextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-05-02 10:19:08 +0100
commitd5f03a5d3880256a0cfd92d0dbb1ca8f94e8c528 (patch)
treed26c5745bc2f3bfbf2be358ee75bfb2c9991bbac /src/main/java/io/polyfrost/oneconfig/OneConfig.java
parent0efc327a74c128fd9b694872643f0fd090ca1363 (diff)
downloadOneConfig-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/OneConfig.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/OneConfig.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/OneConfig.java b/src/main/java/io/polyfrost/oneconfig/OneConfig.java
index 5e25ee0..3c867b9 100644
--- a/src/main/java/io/polyfrost/oneconfig/OneConfig.java
+++ b/src/main/java/io/polyfrost/oneconfig/OneConfig.java
@@ -8,6 +8,7 @@ import io.polyfrost.oneconfig.config.data.ModType;
import io.polyfrost.oneconfig.hud.HudCore;
import io.polyfrost.oneconfig.lwjgl.RenderManager;
import io.polyfrost.oneconfig.lwjgl.font.Fonts;
+import io.polyfrost.oneconfig.lwjgl.image.Images;
import io.polyfrost.oneconfig.test.TestConfig;
import net.minecraft.client.Minecraft;
import net.minecraftforge.client.ClientCommandHandler;
@@ -52,7 +53,7 @@ public class OneConfig {
RenderManager.setupAndDraw((vg) -> {
RenderManager.drawRoundedRect(vg, -100, -100, 50, 50, -1, 12f);
RenderManager.drawString(vg, "OneConfig loading...", -100, -100, -1, 12f, Fonts.INTER_MEDIUM);
- RenderManager.drawImage(vg, "/assets/oneconfig/textures/icon.png", -100, -100, 50, 50);
+ RenderManager.drawImage(vg, Images.LOGO, -100, -100, 50, 50);
});
}