mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
actionbar: skin additional textures
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user