diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-12-26 09:51:37 -0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-26 20:21:37 +0700 |
commit | b4db7af1bf1019a187c1b5f71bd2bc4a37afcf46 (patch) | |
tree | 9ef0760b8a375ce40f14d62579bddf94d7a12592 /src/main/kotlin/com/raeids/stratus/config/StratusConfig.kt | |
parent | 641e50e9c509981df6a7d3fb5a29ff7e3dbe4d47 (diff) | |
download | Chatting-b4db7af1bf1019a187c1b5f71bd2bc4a37afcf46.tar.gz Chatting-b4db7af1bf1019a187c1b5f71bd2bc4a37afcf46.tar.bz2 Chatting-b4db7af1bf1019a187c1b5f71bd2bc4a37afcf46.zip |
Made custom chat height, fixed screenshots not taking into account scale and made screenshots 3x the size, also added entry point for font renderer. (#3)
Diffstat (limited to 'src/main/kotlin/com/raeids/stratus/config/StratusConfig.kt')
-rw-r--r-- | src/main/kotlin/com/raeids/stratus/config/StratusConfig.kt | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/src/main/kotlin/com/raeids/stratus/config/StratusConfig.kt b/src/main/kotlin/com/raeids/stratus/config/StratusConfig.kt index d67bfd0..de26dcb 100644 --- a/src/main/kotlin/com/raeids/stratus/config/StratusConfig.kt +++ b/src/main/kotlin/com/raeids/stratus/config/StratusConfig.kt @@ -17,11 +17,31 @@ object StratusConfig : Vigilant(File(Stratus.modDir, "${Stratus.ID}.toml"), Stra @Property( type = PropertyType.SWITCH, - name = "Chat Searching", - description = "Add a chat search bar.", - category = "Searching" + name = "Custom Chat Height", + description = "Allows you to change the height of chat to heights greater than before.", + category = "Chat Window" ) - var chatSearch = true + var customChatHeight = true + + @Property( + type = PropertyType.SLIDER, + min = 180, + max = 10000, + name = "Focused Height", + description = "Height in pixels.", + category = "Chat Window" + ) + var focusedHeight = 180 + + @Property( + type = PropertyType.SLIDER, + min = 180, + max = 10000, + name = "Unfocused Height", + description = "Height in pixels.", + category = "Chat Window" + ) + var unfocusedHeight = 180 @Property( type = PropertyType.SELECTOR, @@ -38,6 +58,14 @@ object StratusConfig : Vigilant(File(Stratus.modDir, "${Stratus.ID}.toml"), Stra @Property( type = PropertyType.SWITCH, + name = "Chat Searching", + description = "Add a chat search bar.", + category = "Searching" + ) + var chatSearch = true + + @Property( + type = PropertyType.SWITCH, name = "Chat Tabs", description = "Add chat tabs.", category = "Tabs" |