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
@@ -1471,6 +1471,8 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(nil, T["Use Custom Color On Full Health"], C.unitframes, "customfullhp", "checkbox")
CreateConfig(nil, T["Enable Custom Color Health Bar Background"], C.unitframes, "custombg", "checkbox")
CreateConfig(nil, T["Custom Health Bar Background Color"], C.unitframes, "custombgcolor", "color")
CreateConfig(nil, T["Enable Custom Color Power Bar Background"], C.unitframes, "custompbg", "checkbox")
CreateConfig(nil, T["Custom Power Bar Background Color"], C.unitframes, "custompbgcolor", "color")
CreateConfig(nil, T["Mana Color"], C.unitframes, "manacolor", "color")
CreateConfig(nil, T["Rage Color"], C.unitframes, "ragecolor", "color")
CreateConfig(nil, T["Energy Color"], C.unitframes, "energycolor", "color")
@@ -1602,6 +1604,8 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(U[c], T["Use Custom Color On Full Health"], C.unitframes[c], "customfullhp", "checkbox")
CreateConfig(U[c], T["Custom Health Bar Background Color"], C.unitframes[c], "custombgcolor", "color")
CreateConfig(U[c], T["Use Custom Color Health Bar Background"], C.unitframes[c], "custombg", "checkbox")
CreateConfig(U[c], T["Custom Power Bar Background Color"], C.unitframes[c], "custompbgcolor", "color")
CreateConfig(U[c], T["Use Custom Color Power Bar Background"], C.unitframes[c], "custompbg", "checkbox")
CreateConfig(U[c], T["Mana Color"], C.unitframes[c], "manacolor", "color")
CreateConfig(U[c], T["Rage Color"], C.unitframes[c], "ragecolor", "color")
CreateConfig(U[c], T["Energy Color"], C.unitframes[c], "energycolor", "color")