diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-08 11:53:51 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-08 11:53:51 +0200 |
commit | 93a56487f0bb2b7d5dcfc816808386ef34a8986e (patch) | |
tree | feceb42c4478a752305aa3db29bbd1f15b0807b3 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | c75f8c9d6fc2b537eaf08c5209d390fe05054b44 (diff) | |
download | skyhanni-93a56487f0bb2b7d5dcfc816808386ef34a8986e.tar.gz skyhanni-93a56487f0bb2b7d5dcfc816808386ef34a8986e.tar.bz2 skyhanni-93a56487f0bb2b7d5dcfc816808386ef34a8986e.zip |
moved api and debug into dev config
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
3 files changed, 30 insertions, 34 deletions
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); +} |