aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-16 11:56:00 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-16 11:56:00 -0500
commitb56cf5d2a1aa1864b43acae69aedde676afafd57 (patch)
treebac77a8cc0bd639b0f4e798bab53e1ad6c79b49b /src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
parent2b93c22070564ed3ad31cd1862c65185b79c1a78 (diff)
downloadDulkirMod-Fabric-b56cf5d2a1aa1864b43acae69aedde676afafd57.tar.gz
DulkirMod-Fabric-b56cf5d2a1aa1864b43acae69aedde676afafd57.tar.bz2
DulkirMod-Fabric-b56cf5d2a1aa1864b43acae69aedde676afafd57.zip
wip
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
index fa4e66c..832fae6 100644
--- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
+++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
@@ -76,6 +76,12 @@ class DulkirConfig {
.setSaveConsumer { newValue -> configOptions.blockOutlineColor = newValue }
.build()
)
+ general.addEntry(
+ entryBuilder.mkToggle(Text.literal("AbiPhone DND"), configOptions::abiPhoneDND)
+ )
+ general.addEntry(
+ entryBuilder.mkToggle(Text.literal("AbiPhone Caller ID"), configOptions::abiPhoneCallerID)
+ )
val shortcuts = builder.getOrCreateCategory(Text.literal("Shortcuts"))
shortcuts.addEntry(
@@ -109,7 +115,9 @@ class DulkirConfig {
var dynamicKey: InputUtil.Key = UNKNOWN_KEY,
var customBlockOutlines: Boolean = false,
var blockOutlineThickness: Int = 3,
- var blockOutlineColor: Int = 0xFFFFFF
+ var blockOutlineColor: Int = 0xFFFFFF,
+ var abiPhoneDND: Boolean = false,
+ var abiPhoneCallerID: Boolean = false
)
@Serializable
@@ -153,5 +161,4 @@ class DulkirConfig {
}
}
}
-
} \ No newline at end of file