unitframes: add offset options to power bars

This commit is contained in:
dbulatovicx32
2024-07-26 19:31:25 +02:00
committed by GitHub
parent 9a40ca7b9b
commit ada9ee9242
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -1735,6 +1735,8 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(U[c], T["Powerbar"], nil, nil, "header")
CreateConfig(U[c], T["Power Bar Height"], C.unitframes[c], "pheight")
CreateConfig(U[c], T["Power Bar Width"], C.unitframes[c], "pwidth")
CreateConfig(U[c], T["Power Bar X-Offset"], C.unitframes[c], "poffx")
CreateConfig(U[c], T["Power Bar Y-Offset"], C.unitframes[c], "poffy")
CreateConfig(U[c], T["Left Text"], C.unitframes[c], "txtpowerleft", "dropdown", pfUI.gui.dropdowns.uf_texts)
CreateConfig(U[c], T["Center Text"], C.unitframes[c], "txtpowercenter", "dropdown", pfUI.gui.dropdowns.uf_texts)
CreateConfig(U[c], T["Right Text"], C.unitframes[c], "txtpowerright", "dropdown", pfUI.gui.dropdowns.uf_texts)