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
+1 -1
View File
@@ -343,7 +343,7 @@ pfUI:RegisterModule("share", 20400, function ()
f.closeButton:SetHeight(12)
f.closeButton:SetWidth(12)
f.closeButton.texture = f.closeButton:CreateTexture("pfQuestionDialogCloseTex")
f.closeButton.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\close")
f.closeButton.texture:SetTexture(pfUI.media["img:close"])
f.closeButton.texture:ClearAllPoints()
f.closeButton.texture:SetAllPoints(f.closeButton)
f.closeButton.texture:SetVertexColor(1,.25,.25,1)