use new spec icon file

This commit is contained in:
andrew6180
2024-05-26 18:49:31 -07:00
parent b6264af117
commit 14c3a45d1a
11 changed files with 39 additions and 75 deletions
@@ -739,7 +739,7 @@ function breakdownWindowFrame.SetClassIcon(actorObject, class)
breakdownWindowFrame.classIcon:SetTexCoord(.1, .9, .1, .9)
elseif (actorObject.spec) then
breakdownWindowFrame.classIcon:SetTexture([[Interface\AddOns\Details\images\spec_icons_normal_alpha]])
breakdownWindowFrame.classIcon:SetTexture([[Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECS]])
breakdownWindowFrame.classIcon:SetTexCoord(unpack(_detalhes.class_specs_coords [actorObject.spec]))
else
local coords = CLASS_ICON_TCOORDS[class]
+1 -1
View File
@@ -447,7 +447,7 @@ function Details:CreateEventTrackerFrame(parentObject, name)
local get_player_icon = function(spec, class)
if (spec) then
return [[Interface\AddOns\Details\images\spec_icons_normal]], unpack(Details.class_specs_coords [spec])
return [[Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECS]], unpack(Details.class_specs_coords [spec])
elseif (class) then
return [[Interface\AddOns\Details\images\classes_small]], unpack(Details.class_coords [class])
else
+1 -1
View File
@@ -2093,7 +2093,7 @@ local iconFrame_OnEnter = function(self)
end
if (specL) then
GameCooltip:AddIcon([[Interface\AddOns\Details\images\spec_icons_normal_alpha]], 1, 2, iconSize, iconSize, specL, specR, specT, specB)
GameCooltip:AddIcon([[Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES-SPECS]], 1, 2, iconSize, iconSize, specL, specR, specT, specB)
else
GameCooltip:AddIcon([[Interface\GossipFrame\IncompleteQuestIcon]], 1, 2, iconSize, iconSize)
end