icons replaced

This commit is contained in:
Salikh Gurgenidze
2025-11-18 22:07:48 +04:00
parent 44b20f2132
commit f45547a3d1
12 changed files with 19 additions and 17 deletions
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

+7 -6
View File
@@ -89,8 +89,8 @@
<OnLoad> <OnLoad>
local icon = getglobal(this:GetName().."_Icon") local icon = getglobal(this:GetName().."_Icon")
if icon then if icon then
icon:SetTexture("Interface\\Icons\\Trade_Engineering") icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Cog")
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92) icon:SetTexCoord(0, 1, 0, 1)
end end
</OnLoad> </OnLoad>
<OnClick> <OnClick>
@@ -136,8 +136,9 @@
<OnLoad> <OnLoad>
local icon = getglobal(this:GetName().."_Icon") local icon = getglobal(this:GetName().."_Icon")
if icon then if icon then
icon:SetTexture("Interface\\Icons\\INV_Misc_Note_01") -- BagShui approach: no file extension, WoW finds .blp automatically
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92) icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Sorting")
icon:SetTexCoord(0, 1, 0, 1)
end end
</OnLoad> </OnLoad>
<OnClick> <OnClick>
@@ -232,8 +233,8 @@
<OnLoad> <OnLoad>
local icon = getglobal(this:GetName().."_Icon") local icon = getglobal(this:GetName().."_Icon")
if icon then if icon then
icon:SetTexture("Interface\\Icons\\INV_Misc_Bag_13") icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Chest")
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92) icon:SetTexCoord(0, 1, 0, 1)
end end
</OnLoad> </OnLoad>
<OnClick> <OnClick>
+5 -5
View File
@@ -568,22 +568,22 @@ function BankFrame:CreateGudaButtonOnBlizzardUI()
-- Create the button next to close button -- Create the button next to close button
local gudaButton = CreateFrame("Button", "BankFrame_GudaButton", blizzardBankFrame) local gudaButton = CreateFrame("Button", "BankFrame_GudaButton", blizzardBankFrame)
gudaButton:SetWidth(15) gudaButton:SetWidth(20)
gudaButton:SetHeight(15) gudaButton:SetHeight(20)
-- Position next to close button (to the left of it) -- Position next to close button (to the left of it)
local closeButton = getglobal("BankFrameCloseButton") local closeButton = getglobal("BankFrameCloseButton")
if closeButton then if closeButton then
gudaButton:SetPoint("RIGHT", closeButton, "LEFT", -2, 0) gudaButton:SetPoint("RIGHT", closeButton, "LEFT", -2, 0)
else else
gudaButton:SetPoint("TOPRIGHT", blizzardBankFrame, "TOPRIGHT", -61, -17) gudaButton:SetPoint("TOPRIGHT", blizzardBankFrame, "TOPRIGHT", -61, -14)
end end
-- Create button texture -- Create button texture
local texture = gudaButton:CreateTexture(nil, "ARTWORK") local texture = gudaButton:CreateTexture(nil, "ARTWORK")
texture:SetAllPoints(gudaButton) texture:SetAllPoints(gudaButton)
texture:SetTexture("Interface\\Icons\\INV_Misc_Bag_08") texture:SetTexture("Interface\\AddOns\\Guda\\Assets\\Chest")
texture:SetTexCoord(0.08, 0.92, 0.08, 0.92) texture:SetTexCoord(0, 1, 0, 1)
-- Create highlight texture -- Create highlight texture
local highlight = gudaButton:CreateTexture(nil, "HIGHLIGHT") local highlight = gudaButton:CreateTexture(nil, "HIGHLIGHT")
+7 -6
View File
@@ -89,8 +89,9 @@
<OnLoad> <OnLoad>
local icon = getglobal(this:GetName().."_Icon") local icon = getglobal(this:GetName().."_Icon")
if icon then if icon then
icon:SetTexture("Interface\\Icons\\INV_Misc_Note_01") -- BagShui approach: no file extension, WoW finds .blp automatically
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92) icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Sorting")
icon:SetTexCoord(0, 1, 0, 1)
end end
</OnLoad> </OnLoad>
<OnClick> <OnClick>
@@ -136,8 +137,8 @@
<OnLoad> <OnLoad>
local icon = getglobal(this:GetName().."_Icon") local icon = getglobal(this:GetName().."_Icon")
if icon then if icon then
icon:SetTexture("Interface\\Icons\\Trade_Engineering") icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Cog")
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92) icon:SetTexCoord(0, 1, 0, 1)
end end
</OnLoad> </OnLoad>
<OnClick> <OnClick>
@@ -183,8 +184,8 @@
<OnLoad> <OnLoad>
local icon = getglobal(this:GetName().."_Icon") local icon = getglobal(this:GetName().."_Icon")
if icon then if icon then
icon:SetTexture("Interface\\Icons\\INV_Misc_Bag_08") icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Chest")
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92) icon:SetTexCoord(0, 1, 0, 1)
end end
</OnLoad> </OnLoad>
<OnClick> <OnClick>