From f8e9351b72e04279ac69b983ee9abc971d519488 Mon Sep 17 00:00:00 2001 From: Ganom Date: Thu, 30 May 2019 02:33:15 -0400 Subject: [PATCH] Added more options to Obj Indicators --- .../ObjectIndicatorsConfig.java | 34 +++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/objectindicators/ObjectIndicatorsConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/objectindicators/ObjectIndicatorsConfig.java index e7bd35eb58..7a59d02a33 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/objectindicators/ObjectIndicatorsConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/objectindicators/ObjectIndicatorsConfig.java @@ -26,16 +26,16 @@ package net.runelite.client.plugins.objectindicators; import java.awt.Color; -import net.runelite.client.config.Alpha; import net.runelite.client.config.Config; import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigItem; +import net.runelite.client.config.Range; @ConfigGroup("objectindicators") public interface ObjectIndicatorsConfig extends Config { - @Alpha @ConfigItem( + position = 0, keyName = "markerColor", name = "Marker color", description = "Configures the color of object marker" @@ -44,4 +44,34 @@ public interface ObjectIndicatorsConfig extends Config { return Color.YELLOW; } + + @Range( + min = 0, + max = 10 + ) + @ConfigItem( + position = 1, + keyName = "stroke", + name = "Stroke Size", + description = "Configures the stroke size of object marker" + ) + default int stroke() + { + return 2; + } + + @Range( + min = 0, + max = 255 + ) + @ConfigItem( + position = 2, + keyName = "alpha", + name = "Alpha", + description = "Configures the opacity/alpha of object marker" + ) + default int alpha() + { + return 20; + } }