cooldown: add option to draw on foreign addons

This commit is contained in:
shagu
2018-04-09 22:51:43 +02:00
parent 2d3814aaed
commit bc5a659470
11 changed files with 11 additions and 1 deletions
+1
View File
@@ -75,6 +75,7 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("appearance", "cd", "font_size", "12")
pfUI:UpdateConfig("appearance", "cd", "debuffs", "1")
pfUI:UpdateConfig("appearance", "cd", "blizzard", "1")
pfUI:UpdateConfig("appearance", "cd", "foreign", "0")
pfUI:UpdateConfig("appearance", "castbar", "castbarcolor", ".7,.7,.9,.8")
pfUI:UpdateConfig("appearance", "castbar", "channelcolor", ".9,.9,.7,.8")
pfUI:UpdateConfig("appearance", "infight", "screen", "0")
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["deDE"] = {
["Enable Debuff Indicators"] = nil,
["Enable Debuffs"] = nil,
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = nil,
["Enable Extended Guild Information"] = nil,
["Enable Health Color"] = nil,
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["enUS"] = {
["Enable Debuff Indicators"] = nil,
["Enable Debuffs"] = nil,
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = nil,
["Enable Extended Guild Information"] = nil,
["Enable Health Color"] = nil,
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["esES"] = {
["Enable Debuff Indicators"] = "Activar Indicador de Debuff",
["Enable Debuffs"] = "Activar Debuffs",
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = "Activar Tic de Energía",
["Enable Extended Guild Information"] = "Activar Información de Hermandad Extendida",
["Enable Health Color"] = "Activar Color de Salud",
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["frFR"] = {
["Enable Debuff Indicators"] = "Activer l'indicateur des affaiblissements",
["Enable Debuffs"] = "Activer les affaiblissements",
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = "Activer la barre de rechargement d'énergie",
["Enable Extended Guild Information"] = "Activer les informations de guilde étendues",
["Enable Health Color"] = nil,
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["koKR"] = {
["Enable Debuff Indicators"] = "디버프 표시기 활성화",
["Enable Debuffs"] = "디버프 활성화",
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = "Energy Ticks 활성화",
["Enable Extended Guild Information"] = "길드 정보 확장 사용",
["Enable Health Color"] = nil,
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["ruRU"] = {
["Enable Debuff Indicators"] = "Включить индикаторы дебаффов",
["Enable Debuffs"] = "Включить дебаффы",
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = "Включить восполнение энергии",
["Enable Extended Guild Information"] = "Включить расширенную информацию о гильдии",
["Enable Health Color"] = "Включить цвет здоровья",
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["zhCN"] = {
["Enable Debuff Indicators"] = "在头像框架上显示Debuff",
["Enable Debuffs"] = "显示Debuff",
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = "显示能量刻度",
["Enable Extended Guild Information"] = "公会信息扩展显示",
["Enable Health Color"] = nil,
+1
View File
@@ -164,6 +164,7 @@ pfUI_translation["zhTW"] = {
["Enable Debuff Indicators"] = "在頭像框架上顯示Debuff",
["Enable Debuffs"] = "顯示Debuff",
["Enable Durations On Blizzard Frames"] = nil,
["Enable Durations On Foreign Frames"] = nil,
["Enable Energy Ticks"] = "顯示能量刻度",
["Enable Extended Guild Information"] = "公會資訊擴展顯示",
["Enable Health Color"] = nil,
+1 -1
View File
@@ -47,7 +47,7 @@ pfUI:RegisterModule("cooldown", function ()
-- hook
hooksecurefunc("CooldownFrame_SetTimer", function(this, start, duration, enable)
-- abort on unknown frames
if not this.pfCooldownType then
if C.appearance.cd.foreign == "0" and not this.pfCooldownType then
return
end
+1
View File
@@ -740,6 +740,7 @@ pfUI:RegisterModule("gui", function ()
CreateConfig(nil, this, T["Cooldown Text Font Size"], C.appearance.cd, "font_size")
CreateConfig(nil, this, T["Display Debuff Durations"], C.appearance.cd, "debuffs", "checkbox")
CreateConfig(nil, this, T["Enable Durations On Blizzard Frames"], C.appearance.cd, "blizzard", "checkbox")
CreateConfig(nil, this, T["Enable Durations On Foreign Frames"], C.appearance.cd, "foreign", "checkbox")
this.setup = true
end
end)