actionbar: skin additional textures

This commit is contained in:
Unknown
2018-11-10 19:25:55 +01:00
committed by shagu
parent 2c71762248
commit dd7667f7e3
+30
View File
@@ -526,6 +526,16 @@ pfUI:RegisterModule("actionbar", function ()
icon:SetAllPoints(button)
icon:SetTexCoord(.08, .92, .08, .92)
local pushed = button:GetPushedTexture()
pushed:SetAllPoints(button)
pushed:SetTexCoord(.08,.92,.08,.92)
button.SetPushedTexture = function() return end
local checked = button:GetCheckedTexture()
checked:SetAllPoints(button)
checked:SetTexCoord(.08,.92,.08,.92)
button.SetCheckedTexture = function() return end
local texture = _G["ShapeshiftButton"..i..'NormalTexture']
texture:SetAlpha(0)
@@ -554,6 +564,16 @@ pfUI:RegisterModule("actionbar", function ()
icon:SetParent(button)
icon:SetTexCoord(.08, .92, .08, .92)
local pushed = button:GetPushedTexture()
pushed:SetAllPoints(button)
pushed:SetTexCoord(.08,.92,.08,.92)
button.SetPushedTexture = function() return end
local checked = button:GetCheckedTexture()
checked:SetAllPoints(button)
checked:SetTexCoord(.08,.92,.08,.92)
button.SetCheckedTexture = function() return end
local texture = _G["PetActionButton"..i..'NormalTexture2']
texture:SetAlpha(0)
@@ -598,6 +618,16 @@ pfUI:RegisterModule("actionbar", function ()
icon:SetAllPoints(button)
icon:SetTexCoord(.08, .92, .08, .92)
local pushed = button:GetPushedTexture()
pushed:SetAllPoints(button)
pushed:SetTexCoord(.08,.92,.08,.92)
button.SetPushedTexture = function() return end
local checked = button:GetCheckedTexture()
checked:SetAllPoints(button)
checked:SetTexCoord(.08,.92,.08,.92)
button.SetCheckedTexture = function() return end
local border = _G[actionbutton..i..'Border']
if C.bars.showequipped == "1" then
border:SetAllPoints(button)