debuff: add option to disable timers

This commit is contained in:
shagu
2017-07-17 12:45:26 +02:00
parent 0e1f65f219
commit 7065e664b1
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -56,6 +56,7 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("appearance", "cd", "daycolor", ".2,.2,1,1")
pfUI:UpdateConfig("appearance", "cd", "threshold", "2")
pfUI:UpdateConfig("appearance", "cd", "font_size", "12")
pfUI:UpdateConfig("appearance", "cd", "debuffs", "1")
pfUI:UpdateConfig("appearance", "castbar", "castbarcolor", ".7,.7,.9,.8")
pfUI:UpdateConfig("appearance", "castbar", "channelcolor", ".9,.9,.7,.8")
pfUI:UpdateConfig("appearance", "infight", "screen", "0")
+2
View File
@@ -1,4 +1,6 @@
pfUI:RegisterModule("debuffs", function ()
if C.appearance.cd.debuffs ~= "1" then return end
pfUI.debuffs = CreateFrame("Frame", "pfdebuffsScanner", UIParent)
pfUI.debuffs.pfDebuffNameScan = CreateFrame('GameTooltip', "pfDebuffNameScan", UIParent, "GameTooltipTemplate")
+1
View File
@@ -838,6 +838,7 @@ pfUI:RegisterModule("gui", function ()
CreateConfig(this, T["Cooldown Color (Days)"], C.appearance.cd, "daycolor", "color")
CreateConfig(this, T["Cooldown Text Threshold"], C.appearance.cd, "threshold")
CreateConfig(this, T["Cooldown Text Font Size"], C.appearance.cd, "font_size")
CreateConfig(this, T["Display Debuff Durations"], C.appearance.cd, "debuffs", "checkbox")
this.setup = true
end
end)