unitframes: option for custom powerbar background

This commit is contained in:
shagu
2019-12-19 19:44:37 +01:00
parent 0878329741
commit 8d91394259
3 changed files with 19 additions and 0 deletions
+4
View File
@@ -174,6 +174,8 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("unitframes", nil, "customcolor", ".2,.2,.2,1")
pfUI:UpdateConfig("unitframes", nil, "custombg", "0")
pfUI:UpdateConfig("unitframes", nil, "custombgcolor", ".5,.2,.2,1")
pfUI:UpdateConfig("unitframes", nil, "custompbg", "0")
pfUI:UpdateConfig("unitframes", nil, "custompbgcolor", ".5,.2,.2,1")
pfUI:UpdateConfig("unitframes", nil, "manacolor", ".5,.5,1,1")
pfUI:UpdateConfig("unitframes", nil, "energycolor", "1,1,.5,1")
pfUI:UpdateConfig("unitframes", nil, "ragecolor", "1,.5,.5,1")
@@ -360,6 +362,8 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("unitframes", unit, "customcolor", ".2,.2,.2,1")
pfUI:UpdateConfig("unitframes", unit, "custombg", "0")
pfUI:UpdateConfig("unitframes", unit, "custombgcolor", ".5,.2,.2,1")
pfUI:UpdateConfig("unitframes", unit, "custompbg", "0")
pfUI:UpdateConfig("unitframes", unit, "custompbgcolor", ".5,.2,.2,1")
pfUI:UpdateConfig("unitframes", unit, "manacolor", ".5,.5,1,1")
pfUI:UpdateConfig("unitframes", unit, "energycolor", "1,1,.5,1")
pfUI:UpdateConfig("unitframes", unit, "ragecolor", "1,.5,.5,1")