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
@@ -549,7 +549,7 @@ pfUI:RegisterModule("panel", 20400, function()
pfUI.panel.left.hide:SetPoint("LEFT", 0, 0)
CreateBackdrop(pfUI.panel.left.hide, default_border)
pfUI.panel.left.hide.texture = pfUI.panel.left.hide:CreateTexture("pfPanelLeftHide")
pfUI.panel.left.hide.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\left")
pfUI.panel.left.hide.texture:SetTexture(pfUI.media["img:left"])
pfUI.panel.left.hide.texture:ClearAllPoints()
pfUI.panel.left.hide.texture:SetPoint("TOPLEFT", pfUI.panel.left.hide, "TOPLEFT", 2, -4)
pfUI.panel.left.hide.texture:SetPoint("BOTTOMRIGHT", pfUI.panel.left.hide, "BOTTOMRIGHT", -2, 4)
@@ -630,7 +630,7 @@ pfUI:RegisterModule("panel", 20400, function()
pfUI.panel.right.hide:SetPoint("RIGHT", 0, 0)
CreateBackdrop(pfUI.panel.right.hide, default_border)
pfUI.panel.right.hide.texture = pfUI.panel.right.hide:CreateTexture("pfPanelRightHide")
pfUI.panel.right.hide.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\right")
pfUI.panel.right.hide.texture:SetTexture(pfUI.media["img:right"])
pfUI.panel.right.hide.texture:ClearAllPoints()
pfUI.panel.right.hide.texture:SetPoint("TOPLEFT", pfUI.panel.right.hide, "TOPLEFT", 2, -4)
pfUI.panel.right.hide.texture:SetPoint("BOTTOMRIGHT", pfUI.panel.right.hide, "BOTTOMRIGHT", -2, 4)