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
@@ -154,7 +154,7 @@ pfUI:RegisterModule("buffwatch", function ()
frame.bar = CreateFrame("StatusBar", "pfBuffBar" .. bar, frame)
frame.bar:SetPoint("TOPLEFT", frame, "TOPLEFT", height+1, 0)
frame.bar:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", 0, 0)
frame.bar:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar")
frame.bar:SetStatusBarTexture(pfUI.media["img:bar"])
frame.bar:SetStatusBarColor(color.r, color.g, color.b, color.a)
frame.text = frame.bar:CreateFontString("Status", "DIALOG", "GameFontNormal")