core: use new media mechanism for all textures

This commit is contained in:
shagu
2019-06-10 13:35:48 +02:00
parent f3ced08b2d
commit 7632f92dd1
33 changed files with 78 additions and 78 deletions
+2 -2
View File
@@ -604,14 +604,14 @@ pfUI:RegisterModule("loot", 20400, function ()
frame.name:SetFont(pfUI.font_default, C.global.font_size, "OUTLINE")
frame.rarity = frame:CreateTexture(nil, "ARTWORK")
frame.rarity:SetTexture"Interface\\AddOns\\pfUI\\img\\bar"
frame.rarity:SetTexture(pfUI.media["img:bar"])
frame.rarity:SetPoint("LEFT", frame.ficon, "RIGHT", 0, 0)
frame.rarity:SetPoint("RIGHT", frame)
frame.rarity:SetAlpha(.15)
frame.rarity:SetAllPoints(frame)
frame.hover = frame:CreateTexture(nil, "ARTWORK")
frame.hover:SetTexture"Interface\\AddOns\\pfUI\\img\\bar"
frame.hover:SetTexture(pfUI.media["img:bar"])
frame.hover:SetPoint("LEFT", frame.ficon, "RIGHT", 0, 0)
frame.hover:SetPoint("RIGHT", frame)
frame.hover:SetAlpha(.15)