unitframes: add option to use custom fonts

This commit is contained in:
shagu
2021-01-07 17:57:11 +01:00
parent 6433e24013
commit 3043f2f085
3 changed files with 33 additions and 12 deletions
+4
View File
@@ -445,6 +445,10 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("unitframes", unit, "focuscolor", "1,1,.75,1")
pfUI:UpdateConfig("unitframes", unit, "healcolor", "0,1,0,0.6")
pfUI:UpdateConfig("unitframes", unit, "overhealperc", "20")
pfUI:UpdateConfig("unitframes", unit, "customfont", "0")
pfUI:UpdateConfig("unitframes", unit, "customfont_name", "Interface\\AddOns\\pfUI\\fonts\\BigNoodleTitling.ttf")
pfUI:UpdateConfig("unitframes", unit, "customfont_size", "12")
pfUI:UpdateConfig("unitframes", unit, "customfont_style", "OUTLINE")
end
pfUI:UpdateConfig("bars", "bar1", "pageable", "1")