aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-21 19:21:15 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-21 19:21:15 +0200
commit54c3c18d1ac4347a35f449f77995e16b0740ec16 (patch)
tree082f40d38b722e6008bc3450c2fd33f97368c2aa /src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java
parent21192da98b63874c9699194e02339d529380c535 (diff)
downloadOneConfig-54c3c18d1ac4347a35f449f77995e16b0740ec16.tar.gz
OneConfig-54c3c18d1ac4347a35f449f77995e16b0740ec16.tar.bz2
OneConfig-54c3c18d1ac4347a35f449f77995e16b0740ec16.zip
stuff
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java b/src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java
index a65f227..91f4181 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/pages/HomePage.java
@@ -7,7 +7,6 @@ import cc.polyfrost.oneconfig.gui.elements.ColorSelector;
import cc.polyfrost.oneconfig.lwjgl.OneColor;
import cc.polyfrost.oneconfig.lwjgl.RenderManager;
import cc.polyfrost.oneconfig.lwjgl.font.Fonts;
-import cc.polyfrost.oneconfig.lwjgl.image.Images;
import cc.polyfrost.oneconfig.lwjgl.image.SVGs;
import cc.polyfrost.oneconfig.utils.InputUtils;
@@ -23,7 +22,7 @@ public class HomePage extends Page {
public void draw(long vg, int x, int y) {
RenderManager.drawRoundedRect(vg, x, y, 184, 36, -1, 12f);
RenderManager.drawString(vg, "This is a cool string to test pages", x + 32, y + 72, -1, 36f, Fonts.BOLD);
- RenderManager.drawRoundedRect(vg, x + 350, y + 310, 300, 200, OneConfigConfig.BLUE_600, 14f);
+ RenderManager.drawRoundedRect(vg, x + 350, y + 310, 300, 200, OneConfigConfig.PRIMARY_600, 14f);
//RenderManager.drawRoundedRect(vg);
btn.draw(vg, x + 432, y + 658);
if(btn.isClicked()) {