I want to emulate an action bar button:
Code:
local myButton = CreateFrame("CheckButton", nil, UIparent)
myButton:SetPoint("CENTER")
myButton:SetSize(50, 50)
myButton:SetNormalTexture(132224)
myButton:SetHighlightTexture("Interface\\Buttons\\ButtonHilight-Square")
myButton:SetPushedTexture("Interface\\Buttons\\UI-Quickslot-Depress")
myButton:SetCheckedTexture("Interface\\Buttons\\CheckButtonHilight")
It works fine, except that while the button is pushed down, the
UI-Quickslot-Depress texture is shown exclusively instead of overlaying the normal texture, like it is the case for the highlight and checked textures.
What am I missing?