nameplates: option to enable and disable nameplates

This commit is contained in:
shagu
2020-05-20 02:03:31 +02:00
parent f1d61ba31a
commit 4eed4d4c36
3 changed files with 31 additions and 0 deletions
+2
View File
@@ -2026,6 +2026,8 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
end)
CreateGUIEntry(T["Nameplates"], nil, function()
CreateConfig(U["nameplates"], T["Show On Hostile Units"], C.nameplates, "showhostile", "checkbox")
CreateConfig(U["nameplates"], T["Show On Friendly Units"], C.nameplates, "showfriendly", "checkbox")
CreateConfig(U["nameplates"], T["Use Unit Fonts"], C.nameplates, "use_unitfonts", "checkbox")
CreateConfig(U["nameplates"], T["Enable Castbars"], C.nameplates, "showcastbar", "checkbox")
CreateConfig(U["nameplates"], T["Enable Spellname"], C.nameplates, "spellname", "checkbox")