ground items: re-order the config

This commit is contained in:
Seth
2018-02-18 11:11:05 -06:00
parent 9a602174d7
commit 5904ab4e99

View File

@@ -38,10 +38,22 @@ import java.awt.Color;
) )
public interface GroundItemsConfig extends Config public interface GroundItemsConfig extends Config
{ {
@ConfigItem(
keyName = "showHighlightedOnly",
name = "Show Highlighted items only",
description = "Configures whether or not to draw items only on your highlighted list",
position = 1
)
default boolean showHighlightedOnly()
{
return false;
}
@ConfigItem( @ConfigItem(
keyName = "showGEPrice", keyName = "showGEPrice",
name = "Show Grand Exchange Prices", name = "Show Grand Exchange Prices",
description = "Configures whether or not to draw GE prices alongside ground items" description = "Configures whether or not to draw GE prices alongside ground items",
position = 2
) )
default boolean showGEPrice() default boolean showGEPrice()
{ {
@@ -51,37 +63,19 @@ public interface GroundItemsConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showHAValue", keyName = "showHAValue",
name = "Show High Alchemy Values", name = "Show High Alchemy Values",
description = "Configures whether or not to draw High Alchemy values alongside ground items" description = "Configures whether or not to draw High Alchemy values alongside ground items",
position = 3
) )
default boolean showHAValue() default boolean showHAValue()
{ {
return false; return false;
} }
@ConfigItem(
keyName = "hiddenItems",
name = "Hidden Items",
description = "Configures hidden ground items. Format: (item), (item)"
)
default String getHiddenItems()
{
return "";
}
@ConfigItem(
keyName = "highlightedItems",
name = "Highlighted Items",
description = "Configures specifically highlighted ground items. Format: (item), (item)"
)
default String getHighlightItems()
{
return "";
}
@ConfigItem( @ConfigItem(
keyName = "hideUnderGeValue", keyName = "hideUnderGeValue",
name = "Hide < GE Value", name = "Hide < GE Value",
description = "Configures hidden ground items under GE value" description = "Configures hidden ground items under GE value",
position = 4
) )
default int getHideUnderGeValue() default int getHideUnderGeValue()
{ {
@@ -91,17 +85,41 @@ public interface GroundItemsConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "hideUnderHaValue", keyName = "hideUnderHaValue",
name = "Hide < HA Value", name = "Hide < HA Value",
description = "Configures hidden ground items under High Alch value" description = "Configures hidden ground items under High Alch value",
position = 5
) )
default int getHideUnderHAValue() default int getHideUnderHAValue()
{ {
return 0; return 0;
} }
@ConfigItem(
keyName = "highlightedItems",
name = "Highlighted Items",
description = "Configures specifically highlighted ground items. Format: (item), (item)",
position = 6
)
default String getHighlightItems()
{
return "";
}
@ConfigItem(
keyName = "hiddenItems",
name = "Hidden Items",
description = "Configures hidden ground items. Format: (item), (item)",
position = 7
)
default String getHiddenItems()
{
return "";
}
@ConfigItem( @ConfigItem(
keyName = "highlightedColor", keyName = "highlightedColor",
name = "Highlighted items color", name = "Highlighted items color",
description = "Configures the color for highlighted items" description = "Configures the color for highlighted items",
position = 8
) )
default Color highlightedColor() default Color highlightedColor()
{ {
@@ -111,7 +129,8 @@ public interface GroundItemsConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "lowValueColor", keyName = "lowValueColor",
name = "Low value items color", name = "Low value items color",
description = "Configures the color for low value items" description = "Configures the color for low value items",
position = 9
) )
default Color lowValueColor() default Color lowValueColor()
{ {
@@ -121,7 +140,8 @@ public interface GroundItemsConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "mediumValueColor", keyName = "mediumValueColor",
name = "Medium value items color", name = "Medium value items color",
description = "Configures the color for medium value items" description = "Configures the color for medium value items",
position = 10
) )
default Color mediumValueColor() default Color mediumValueColor()
{ {
@@ -131,7 +151,8 @@ public interface GroundItemsConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "highValueColor", keyName = "highValueColor",
name = "High value items color", name = "High value items color",
description = "Configures the color for high value items" description = "Configures the color for high value items",
position = 11
) )
default Color highValueColor() default Color highValueColor()
{ {
@@ -141,20 +162,11 @@ public interface GroundItemsConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "insaneValueColor", keyName = "insaneValueColor",
name = "Insane value items color", name = "Insane value items color",
description = "Configures the color for insane value items" description = "Configures the color for insane value items",
position = 12
) )
default Color insaneValueColor() default Color insaneValueColor()
{ {
return Color.decode("#FF66B2"); return Color.decode("#FF66B2");
} }
@ConfigItem(
keyName = "showHighlightedOnly",
name = "Show Highlighted items only",
description = "Configures whether or not to draw items only on your highlighted list"
)
default boolean showHighlightedOnly()
{
return false;
}
} }