nameplates: add option for name font style

This commit is contained in:
shagu
2020-05-21 19:02:52 +02:00
parent 8c8f90a14c
commit abbb6c3833
3 changed files with 10 additions and 1 deletions
+7
View File
@@ -848,6 +848,12 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
"4:4 " .. T["Pixel"],
"5:5 " .. T["Pixel"],
},
["fontstyle"] = {
"NONE:" .. T["None"],
"OUTLINE:" .. T["Outline"],
"THICKOUTLINE:" .. T["Thick Outline"],
"MONOCHROME:" .. T["Monochrome"],
},
["spacing"] = {
"0:0" .. T["None"],
"1:1 " .. T["Pixel"],
@@ -2043,6 +2049,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(U["nameplates"], T["Enable Mouselook With Right Click"], C.nameplates, "rightclick", "checkbox", nil, nil, nil, nil, "vanilla")
CreateConfig(U["nameplates"], T["Right Click Auto Attack Threshold"], C.nameplates, "clickthreshold", nil, nil, nil, nil, nil, "vanilla")
CreateConfig(U["nameplates"], T["Use Unit Fonts"], C.nameplates, "use_unitfonts", "checkbox")
CreateConfig(U["nameplates"], T["Name Font Style"], C.nameplates.name, "fontstyle", "dropdown", pfUI.gui.dropdowns.fontstyle)
CreateConfig(nil, T["Castbar"], nil, nil, "header")
CreateConfig(U["nameplates"], T["Enable Castbars"], C.nameplates, "showcastbar", "checkbox")