diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-02 10:19:08 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-02 10:19:08 +0100 |
commit | d5f03a5d3880256a0cfd92d0dbb1ca8f94e8c528 (patch) | |
tree | d26c5745bc2f3bfbf2be358ee75bfb2c9991bbac /src/main/java/io/polyfrost/oneconfig/gui/pages | |
parent | 0efc327a74c128fd9b694872643f0fd090ca1363 (diff) | |
download | OneConfig-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/gui/pages')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java b/src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java index 667b02e..0dfd983 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java +++ b/src/main/java/io/polyfrost/oneconfig/gui/pages/HomePage.java @@ -4,9 +4,10 @@ import io.polyfrost.oneconfig.config.OneConfigConfig; import io.polyfrost.oneconfig.gui.elements.BasicButton; import io.polyfrost.oneconfig.lwjgl.RenderManager; import io.polyfrost.oneconfig.lwjgl.font.Fonts; +import io.polyfrost.oneconfig.lwjgl.image.Images; public class HomePage extends Page { - private final BasicButton btn = new BasicButton(184, 36, "Socials", "/assets/oneconfig/textures/share.png", "/assets/oneconfig/textures/share2.png", 1, BasicButton.ALIGNMENT_CENTER); + private final BasicButton btn = new BasicButton(184, 36, "Socials", Images.SHARE, Images.LAUNCH, 1, BasicButton.ALIGNMENT_CENTER); public HomePage() { super("Home Dashboard"); |