mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 05:30:00 +00:00
core: use new media mechanism for all textures
This commit is contained in:
+3
-3
@@ -113,7 +113,7 @@ pfUI:RegisterModule("xpbar", 20400, function ()
|
||||
end)
|
||||
|
||||
pfUI.xp.bar = CreateFrame("StatusBar", nil, pfUI.xp)
|
||||
pfUI.xp.bar:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI.xp.bar:SetStatusBarTexture(pfUI.media["img:bar"])
|
||||
pfUI.xp.bar:ClearAllPoints()
|
||||
pfUI.xp.bar:SetAllPoints(pfUI.xp)
|
||||
pfUI.xp.bar:SetFrameStrata("LOW")
|
||||
@@ -123,7 +123,7 @@ pfUI:RegisterModule("xpbar", 20400, function ()
|
||||
pfUI.xp.bar:SetValue(59)
|
||||
|
||||
pfUI.xp.restedbar = CreateFrame("StatusBar", nil, pfUI.xp)
|
||||
pfUI.xp.restedbar:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI.xp.restedbar:SetStatusBarTexture(pfUI.media["img:bar"])
|
||||
pfUI.xp.restedbar:ClearAllPoints()
|
||||
pfUI.xp.restedbar:SetAllPoints(pfUI.xp)
|
||||
pfUI.xp.restedbar:SetFrameStrata("MEDIUM")
|
||||
@@ -147,7 +147,7 @@ pfUI:RegisterModule("xpbar", 20400, function ()
|
||||
UpdateMovable(pfUI.rep)
|
||||
|
||||
pfUI.rep.bar = CreateFrame("StatusBar", nil, pfUI.rep)
|
||||
pfUI.rep.bar:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar")
|
||||
pfUI.rep.bar:SetStatusBarTexture(pfUI.media["img:bar"])
|
||||
pfUI.rep.bar:ClearAllPoints()
|
||||
pfUI.rep.bar:SetAllPoints(pfUI.rep)
|
||||
pfUI.rep.bar:SetMinMaxValues(0, 100)
|
||||
|
||||
Reference in New Issue
Block a user