icons replaced
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 3.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
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
@@ -89,8 +89,8 @@
|
||||
<OnLoad>
|
||||
local icon = getglobal(this:GetName().."_Icon")
|
||||
if icon then
|
||||
icon:SetTexture("Interface\\Icons\\Trade_Engineering")
|
||||
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
|
||||
icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Cog")
|
||||
icon:SetTexCoord(0, 1, 0, 1)
|
||||
end
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
@@ -136,8 +136,9 @@
|
||||
<OnLoad>
|
||||
local icon = getglobal(this:GetName().."_Icon")
|
||||
if icon then
|
||||
icon:SetTexture("Interface\\Icons\\INV_Misc_Note_01")
|
||||
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
|
||||
-- BagShui approach: no file extension, WoW finds .blp automatically
|
||||
icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Sorting")
|
||||
icon:SetTexCoord(0, 1, 0, 1)
|
||||
end
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
@@ -232,8 +233,8 @@
|
||||
<OnLoad>
|
||||
local icon = getglobal(this:GetName().."_Icon")
|
||||
if icon then
|
||||
icon:SetTexture("Interface\\Icons\\INV_Misc_Bag_13")
|
||||
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
|
||||
icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Chest")
|
||||
icon:SetTexCoord(0, 1, 0, 1)
|
||||
end
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
|
||||
+5
-5
@@ -568,22 +568,22 @@ function BankFrame:CreateGudaButtonOnBlizzardUI()
|
||||
|
||||
-- Create the button next to close button
|
||||
local gudaButton = CreateFrame("Button", "BankFrame_GudaButton", blizzardBankFrame)
|
||||
gudaButton:SetWidth(15)
|
||||
gudaButton:SetHeight(15)
|
||||
gudaButton:SetWidth(20)
|
||||
gudaButton:SetHeight(20)
|
||||
|
||||
-- Position next to close button (to the left of it)
|
||||
local closeButton = getglobal("BankFrameCloseButton")
|
||||
if closeButton then
|
||||
gudaButton:SetPoint("RIGHT", closeButton, "LEFT", -2, 0)
|
||||
else
|
||||
gudaButton:SetPoint("TOPRIGHT", blizzardBankFrame, "TOPRIGHT", -61, -17)
|
||||
gudaButton:SetPoint("TOPRIGHT", blizzardBankFrame, "TOPRIGHT", -61, -14)
|
||||
end
|
||||
|
||||
-- Create button texture
|
||||
local texture = gudaButton:CreateTexture(nil, "ARTWORK")
|
||||
texture:SetAllPoints(gudaButton)
|
||||
texture:SetTexture("Interface\\Icons\\INV_Misc_Bag_08")
|
||||
texture:SetTexCoord(0.08, 0.92, 0.08, 0.92)
|
||||
texture:SetTexture("Interface\\AddOns\\Guda\\Assets\\Chest")
|
||||
texture:SetTexCoord(0, 1, 0, 1)
|
||||
|
||||
-- Create highlight texture
|
||||
local highlight = gudaButton:CreateTexture(nil, "HIGHLIGHT")
|
||||
|
||||
+7
-6
@@ -89,8 +89,9 @@
|
||||
<OnLoad>
|
||||
local icon = getglobal(this:GetName().."_Icon")
|
||||
if icon then
|
||||
icon:SetTexture("Interface\\Icons\\INV_Misc_Note_01")
|
||||
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
|
||||
-- BagShui approach: no file extension, WoW finds .blp automatically
|
||||
icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Sorting")
|
||||
icon:SetTexCoord(0, 1, 0, 1)
|
||||
end
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
@@ -136,8 +137,8 @@
|
||||
<OnLoad>
|
||||
local icon = getglobal(this:GetName().."_Icon")
|
||||
if icon then
|
||||
icon:SetTexture("Interface\\Icons\\Trade_Engineering")
|
||||
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
|
||||
icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Cog")
|
||||
icon:SetTexCoord(0, 1, 0, 1)
|
||||
end
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
@@ -183,8 +184,8 @@
|
||||
<OnLoad>
|
||||
local icon = getglobal(this:GetName().."_Icon")
|
||||
if icon then
|
||||
icon:SetTexture("Interface\\Icons\\INV_Misc_Bag_08")
|
||||
icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
|
||||
icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Chest")
|
||||
icon:SetTexCoord(0, 1, 0, 1)
|
||||
end
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
|
||||
Reference in New Issue
Block a user