mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 05:00:02 +00:00
Changed the raid icons to use the original Blizzard icons!
This commit is contained in:
@@ -140,7 +140,7 @@ pfUI.marktracking = CreateFrame("Frame", "pfMarkTracking", UIParent)
|
||||
row.icon:SetWidth(ROW_HEIGHT)
|
||||
row.icon:SetHeight(ROW_HEIGHT)
|
||||
row.icon:SetPoint("LEFT", row, "LEFT", 1, 0)
|
||||
row.icon:SetTexture(pfUI.media["img:raidicons"])
|
||||
row.icon:SetTexture("Interface\\TargetingFrame\\UI-RaidTargetingIcons")
|
||||
SetRaidTargetIconTexture(row.icon, i)
|
||||
|
||||
-- portrait (right side)
|
||||
@@ -246,6 +246,7 @@ pfUI.marktracking = CreateFrame("Frame", "pfMarkTracking", UIParent)
|
||||
end
|
||||
end
|
||||
row:Show()
|
||||
SetRaidTargetIconTexture(row.icon, i)
|
||||
prevRow = row
|
||||
anyActive = true
|
||||
visibleCount = visibleCount + 1
|
||||
|
||||
@@ -753,7 +753,6 @@ nameplates:RegisterEvent("ZONE_CHANGED_NEW_AREA")
|
||||
|
||||
nameplate.raidicon:SetParent(plate)
|
||||
nameplate.raidicon:SetDrawLayer("OVERLAY")
|
||||
nameplate.raidicon:SetTexture(pfUI.media["img:raidicons"])
|
||||
|
||||
nameplate.totem = CreateFrame("Frame", nil, nameplate)
|
||||
nameplate.totem:SetPoint("CENTER", nameplate, "CENTER", 0, 0)
|
||||
@@ -893,7 +892,7 @@ nameplates:RegisterEvent("ZONE_CHANGED_NEW_AREA")
|
||||
nameplate.glow:SetVertexColor(glowr, glowg, glowb, glowa)
|
||||
|
||||
nameplate.raidicon:ClearAllPoints()
|
||||
nameplate.raidicon:SetPoint(C.nameplates.raidiconpos, nameplate.health, C.nameplates.raidiconpos, C.nameplates.raidiconoffx, C.nameplates.raidiconoffy)
|
||||
nameplate.raidicon:SetPoint("BOTTOM", nameplate.health, "TOP", C.nameplates.raidiconoffx, C.nameplates.raidiconoffy)
|
||||
nameplate.level:SetFont(font, font_size, font_style)
|
||||
nameplate.raidicon:SetWidth(C.nameplates.raidiconsize)
|
||||
nameplate.raidicon:SetHeight(C.nameplates.raidiconsize)
|
||||
|
||||
Reference in New Issue
Block a user