From 93a56487f0bb2b7d5dcfc816808386ef34a8986e Mon Sep 17 00:00:00 2001 From: Lorenz Date: Thu, 8 Sep 2022 11:53:51 +0200 Subject: moved api and debug into dev config --- .../skyhanni/config/features/ApiData.java | 13 ---------- .../hannibal2/skyhanni/config/features/Debug.java | 21 --------------- .../skyhanni/config/features/DevData.java | 30 ++++++++++++++++++++++ 3 files changed, 30 insertions(+), 34 deletions(-) delete mode 100644 src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java delete mode 100644 src/main/java/at/hannibal2/skyhanni/config/features/Debug.java create mode 100644 src/main/java/at/hannibal2/skyhanni/config/features/DevData.java (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java b/src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java deleted file mode 100644 index 387388bf0..000000000 --- a/src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java +++ /dev/null @@ -1,13 +0,0 @@ -package at.hannibal2.skyhanni.config.features; - -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorBoolean; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigOption; -import com.google.gson.annotations.Expose; - -public class ApiData { - - @Expose - @ConfigOption(name = "Repo Auto Update", desc = "Update the repository on every startup.") - @ConfigEditorBoolean - public boolean repoAutoUpdate = true; -} \ No newline at end of file diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Debug.java b/src/main/java/at/hannibal2/skyhanni/config/features/Debug.java deleted file mode 100644 index c514a0d20..000000000 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Debug.java +++ /dev/null @@ -1,21 +0,0 @@ -package at.hannibal2.skyhanni.config.features; - - -import at.hannibal2.skyhanni.config.gui.core.config.Position; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorBoolean; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorButton; -import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigOption; -import com.google.gson.annotations.Expose; - -public class Debug { - - @Expose - @ConfigOption(name = "Enable Test", desc = "Enable Test logic") - @ConfigEditorBoolean - public boolean enabled = false; - - @Expose - @ConfigOption(name = "Test Location", desc = "") - @ConfigEditorButton(runnableId = "testPos", buttonText = "Edit") - public Position testPos = new Position(10, 10, false, true); -} \ No newline at end of file diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java new file mode 100644 index 000000000..5e66e9e8f --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java @@ -0,0 +1,30 @@ +package at.hannibal2.skyhanni.config.features; + +import at.hannibal2.skyhanni.config.gui.core.config.Position; +import at.hannibal2.skyhanni.config.gui.core.config.annotations.*; +import com.google.gson.annotations.Expose; + +public class DevData { + + @Expose + @ConfigOption(name = "Repo Auto Update", desc = "Update the repository on every startup.") + @ConfigEditorBoolean + public boolean repoAutoUpdate = true; + + @Expose + @ConfigOption(name = "Debug", desc = "") + @ConfigEditorAccordion(id = 0) + public boolean debugDO_NOT_USE = false; + + @Expose + @ConfigOption(name = "Enable Debug", desc = "Enable Test logic") + @ConfigEditorBoolean + @ConfigAccordionId(id = 0) + public boolean debugEnabled = false; + + @Expose + @ConfigOption(name = "Debug Location", desc = "") + @ConfigEditorButton(runnableId = "debugPos", buttonText = "Edit") + @ConfigAccordionId(id = 0) + public Position debugPos = new Position(10, 10, false, true); +} -- cgit