runelite config: add position to config items

This commit is contained in:
Adam
2018-04-23 14:31:13 -04:00
parent 003abb45f9
commit 4118fa9f50

View File

@@ -37,7 +37,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "gameSize", keyName = "gameSize",
name = "Game size", name = "Game size",
description = "The game will resize to this resolution upon starting the client" description = "The game will resize to this resolution upon starting the client",
position = 1
) )
default Dimension gameSize() default Dimension gameSize()
{ {
@@ -47,7 +48,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "lockWindowSize", keyName = "lockWindowSize",
name = "Lock window size", name = "Lock window size",
description = "Determines if the window resizing is allowed or not" description = "Determines if the window resizing is allowed or not",
position = 2
) )
default boolean lockWindowSize() default boolean lockWindowSize()
{ {
@@ -58,7 +60,8 @@ public interface RuneLiteConfig extends Config
keyName = "uiEnableCustomChrome", keyName = "uiEnableCustomChrome",
name = "Enable custom window chrome", name = "Enable custom window chrome",
description = "Use Runelite's custom window title and borders.", description = "Use Runelite's custom window title and borders.",
warning = "Please restart your client after changing this setting" warning = "Please restart your client after changing this setting",
position = 3
) )
default boolean enableCustomChrome() default boolean enableCustomChrome()
{ {
@@ -68,7 +71,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "gameAlwaysOnTop", keyName = "gameAlwaysOnTop",
name = "Enable client always on top", name = "Enable client always on top",
description = "The game will always be on the top of the screen" description = "The game will always be on the top of the screen",
position = 4
) )
default boolean gameAlwaysOnTop() default boolean gameAlwaysOnTop()
{ {
@@ -78,7 +82,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "notificationTray", keyName = "notificationTray",
name = "Enable tray notifications", name = "Enable tray notifications",
description = "Enables tray notifications" description = "Enables tray notifications",
position = 5
) )
default boolean enableTrayNotifications() default boolean enableTrayNotifications()
{ {
@@ -88,7 +93,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "notificationSound", keyName = "notificationSound",
name = "Enable sound on notifications", name = "Enable sound on notifications",
description = "Enables the playing of a beep sound when notifications are displayed" description = "Enables the playing of a beep sound when notifications are displayed",
position = 6
) )
default boolean enableNotificationSound() default boolean enableNotificationSound()
{ {
@@ -98,7 +104,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "notificationFocused", keyName = "notificationFocused",
name = "Send notifications when focused", name = "Send notifications when focused",
description = "Toggles idle notifications for when the client is focused" description = "Toggles idle notifications for when the client is focused",
position = 7
) )
default boolean sendNotificationsWhenFocused() default boolean sendNotificationsWhenFocused()
{ {
@@ -108,7 +115,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "notificationRequestFocus", keyName = "notificationRequestFocus",
name = "Request focus on notification", name = "Request focus on notification",
description = "Toggles window focus request" description = "Toggles window focus request",
position = 8
) )
default boolean requestFocusOnNotification() default boolean requestFocusOnNotification()
{ {
@@ -118,7 +126,8 @@ public interface RuneLiteConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "fontType", keyName = "fontType",
name = "Dynamic Overlay Font", name = "Dynamic Overlay Font",
description = "Configures what font type is used for in-game overlays such as player name, ground items, etc." description = "Configures what font type is used for in-game overlays such as player name, ground items, etc.",
position = 9
) )
default FontType fontType() default FontType fontType()
{ {