From 4118fa9f502a877aba30858b2dc3105ff1577339 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 23 Apr 2018 14:31:13 -0400 Subject: [PATCH] runelite config: add position to config items --- .../client/config/RuneLiteConfig.java | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/config/RuneLiteConfig.java b/runelite-client/src/main/java/net/runelite/client/config/RuneLiteConfig.java index e2c1293b64..5cd1757bce 100644 --- a/runelite-client/src/main/java/net/runelite/client/config/RuneLiteConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/config/RuneLiteConfig.java @@ -37,7 +37,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "gameSize", 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() { @@ -47,7 +48,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "lockWindowSize", 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() { @@ -58,7 +60,8 @@ public interface RuneLiteConfig extends Config keyName = "uiEnableCustomChrome", name = "Enable custom window chrome", 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() { @@ -68,7 +71,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "gameAlwaysOnTop", 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() { @@ -78,7 +82,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "notificationTray", name = "Enable tray notifications", - description = "Enables tray notifications" + description = "Enables tray notifications", + position = 5 ) default boolean enableTrayNotifications() { @@ -88,7 +93,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "notificationSound", 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() { @@ -98,7 +104,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "notificationFocused", 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() { @@ -108,7 +115,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "notificationRequestFocus", name = "Request focus on notification", - description = "Toggles window focus request" + description = "Toggles window focus request", + position = 8 ) default boolean requestFocusOnNotification() { @@ -118,7 +126,8 @@ public interface RuneLiteConfig extends Config @ConfigItem( keyName = "fontType", 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() {