mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
add possibility to exchange the default fonts
This commit is contained in:
+2
-2
@@ -71,7 +71,7 @@ pfUI:RegisterModule("loot", function ()
|
||||
frame.count:ClearAllPoints()
|
||||
frame.count:SetJustifyH"RIGHT"
|
||||
frame.count:SetPoint("BOTTOMRIGHT", frame.ficon, 2, 2)
|
||||
frame.count:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", pfUI_config.global.font_size, "OUTLINE")
|
||||
frame.count:SetFont("Interface\\AddOns\\pfUI\\fonts\\" .. pfUI_config.global.font_default .. ".ttf", pfUI_config.global.font_size, "OUTLINE")
|
||||
frame.count:SetText(1)
|
||||
|
||||
frame.name = frame:CreateFontString(nil, "OVERLAY")
|
||||
@@ -79,7 +79,7 @@ pfUI:RegisterModule("loot", function ()
|
||||
frame.name:ClearAllPoints()
|
||||
frame.name:SetAllPoints(frame)
|
||||
frame.name:SetNonSpaceWrap(true)
|
||||
frame.name:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", pfUI_config.global.font_size, "OUTLINE")
|
||||
frame.name:SetFont("Interface\\AddOns\\pfUI\\fonts\\" .. pfUI_config.global.font_default .. ".ttf", pfUI_config.global.font_size, "OUTLINE")
|
||||
|
||||
frame.rarity = frame:CreateTexture(nil, "ARTWORK")
|
||||
frame.rarity:SetTexture"Interface\\AddOns\\pfUI\\img\\bar"
|
||||
|
||||
Reference in New Issue
Block a user