aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-30 12:37:21 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-30 12:37:21 +0200
commit78fab84df48759e8968c477924b4bcc3b81e6cee (patch)
tree1273be94b15da4f468c7c7f94efcb57d2cd7f593 /src/main/java/io/polyfrost/oneconfig/config
parentcb211a4c727243ede579a439008c6097506fe046 (diff)
downloadOneConfig-78fab84df48759e8968c477924b4bcc3b81e6cee.tar.gz
OneConfig-78fab84df48759e8968c477924b4bcc3b81e6cee.tar.bz2
OneConfig-78fab84df48759e8968c477924b4bcc3b81e6cee.zip
config page system rewrite start
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java b/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java
new file mode 100644
index 0000000..4286264
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/config/data/OptionCategory.java
@@ -0,0 +1,17 @@
+package io.polyfrost.oneconfig.config.data;
+
+import io.polyfrost.oneconfig.config.interfaces.BasicOption;
+import io.polyfrost.oneconfig.gui.elements.config.ConfigPage;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+
+public class OptionCategory {
+ public final HashMap<String, ArrayList<BasicOption>> options;
+ public final ArrayList<ConfigPage> pages;
+
+ public OptionCategory(HashMap<String, ArrayList<BasicOption>> options, ArrayList<ConfigPage> pages) {
+ this.options = options;
+ this.pages = pages;
+ }
+}