aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java
diff options
context:
space:
mode:
authornextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-04-23 13:51:31 +0100
committernextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-04-23 13:52:01 +0100
commita11a04cc1161a4ed55b85fa9bec877094f1e8e9d (patch)
tree423c49125b176dbabd72df562bd9b9e5f0397b02 /src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java
parent2b38d2d62391428a7fa40f268a4e65f876dd0e75 (diff)
downloadOneConfig-a11a04cc1161a4ed55b85fa9bec877094f1e8e9d.tar.gz
OneConfig-a11a04cc1161a4ed55b85fa9bec877094f1e8e9d.tar.bz2
OneConfig-a11a04cc1161a4ed55b85fa9bec877094f1e8e9d.zip
mod page, pages, and some more stuff
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java b/src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java
new file mode 100644
index 0000000..97751d6
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/gui/pages/ModsPage.java
@@ -0,0 +1,38 @@
+package io.polyfrost.oneconfig.gui.pages;
+
+import io.polyfrost.oneconfig.config.OneConfigConfig;
+import io.polyfrost.oneconfig.gui.elements.BasicButton;
+import io.polyfrost.oneconfig.gui.elements.ModCard;
+import io.polyfrost.oneconfig.lwjgl.RenderManager;
+import io.polyfrost.oneconfig.lwjgl.font.Fonts;
+
+public class ModsPage extends Page {
+ private final BasicButton allBtn = new BasicButton(49, 40, "All", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+ private final BasicButton newBtn = new BasicButton(64, 40, "New", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+ private final BasicButton combatBtn = new BasicButton(104, 40, "Combat", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+ private final BasicButton hudBtn = new BasicButton(104, 40, "HUD & QoL", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+ private final BasicButton hypixelBtn = new BasicButton(104, 40, "Hypixel", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+ private final BasicButton skyblockBtn = new BasicButton(104, 40, "Skyblock", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+ private final BasicButton utilBtn = new BasicButton(104, 40, "Utility", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+ private final BasicButton customBtn = new BasicButton(104, 40, "Custom", null, null, 0, BasicButton.ALIGNMENT_CENTER, true);
+
+ private final ModCard exCard = new ModCard("Placeholder Mod Name", null, true, false, false);
+
+ public ModsPage() {
+ super("Mods");
+ }
+
+ public void draw(long vg, int x, int y) {
+ allBtn.draw(vg, x + 16, y + 16);
+ newBtn.draw(vg, x + 92, y + 16);
+ combatBtn.draw(vg, x + 168, y + 16);
+ hudBtn.draw(vg, x + 284, y + 16);
+ hypixelBtn.draw(vg, x + 400, y + 16);
+ skyblockBtn.draw(vg, x + 516, y + 16);
+ utilBtn.draw(vg, x + 632, y + 16);
+ customBtn.draw(vg, x + 748, y + 16);
+
+ exCard.draw(vg, x + 16, y + 72);
+
+ }
+}