aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2023-09-26 11:47:58 +0200
committerGitHub <noreply@github.com>2023-09-26 11:47:58 +0200
commit2ed9e4a59ed99f3b9927a3cd6cda3f19d652fd30 (patch)
treeacbf1fc5f97e590448e1d50490811dd5e50785e7 /src/main/java/at/hannibal2/skyhanni/config/features
parent5b4f020ec6aaae0afea309b772bf89fb1493e4d3 (diff)
downloadskyhanni-2ed9e4a59ed99f3b9927a3cd6cda3f19d652fd30.tar.gz
skyhanni-2ed9e4a59ed99f3b9927a3cd6cda3f19d652fd30.tar.bz2
skyhanni-2ed9e4a59ed99f3b9927a3cd6cda3f19d652fd30.zip
Feature: Color class levels in tab list (#398)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java19
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java4
2 files changed, 17 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java
index c8033a642..ef19d81b9 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java
@@ -3,10 +3,7 @@ package at.hannibal2.skyhanni.config.features;
import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
-import io.github.moulberry.moulconfig.annotations.ConfigAccordionId;
-import io.github.moulberry.moulconfig.annotations.ConfigEditorAccordion;
-import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
-import io.github.moulberry.moulconfig.annotations.ConfigOption;
+import io.github.moulberry.moulconfig.annotations.*;
public class DungeonConfig {
@@ -169,6 +166,20 @@ public class DungeonConfig {
public boolean partyFinderColoredClassLevel = true;
@Expose
+ @ConfigOption(name = "Tab List", desc = "")
+ @Accordion
+ public TabListConfig tabList = new TabListConfig();
+
+ public static class TabListConfig {
+
+ @Expose
+ @ConfigOption(name = "Colored Class Level", desc = "Color class levels in tab list. (Also hides rank colors and emblems, because who needs that in dungeon anyway?)")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean coloredClassLevel = true;
+ }
+
+ @Expose
@ConfigOption(name = "Moving Skeleton Skulls", desc = "Highlight Skeleton Skulls when combining into an " +
"orange Skeletor (not useful when combined with feature Hide Skeleton Skull).")
@ConfigEditorBoolean
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
index 7acca7e23..ab7f31448 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
@@ -1375,9 +1375,9 @@ public class GardenConfig {
@Expose
@ConfigOption(name = "Garden Plot Icon", desc = "")
@Accordion
- public PlotIcon plotIcon = new PlotIcon();
+ public PlotIconConfig plotIcon = new PlotIconConfig();
- public static class PlotIcon {
+ public static class PlotIconConfig {
@Expose
@ConfigOption(name = "Enable", desc = "Enable icon replacement in the Configure Plots menu.")
@ConfigEditorBoolean