Hello,
I'm trying to get the canonical debuffType colored debuff overlay that uses the UI-Debuff-Overlays texture to fit a square rather than the rounded corner square. You'll often see code like this:
Lua Code:
local overlay = button:CreateTexture(nil, 'OVERLAY')
overlay:SetTexture([[Interface\Buttons\UI-Debuff-Overlays]])
overlay:SetTexCoord(.296875, .5703125, 0, .515625)
button.overlay = overlay
However, that SetTexCoord will make a rounded corner square. Is there a way to get the UI-Debuff-Overlays to fit a true square with 90 degree corners?
Thank you!
Or perhaps does anyone have a transparent BLP, TGA, or JPEG 32x32 square with a FFFFFF 1 pixel border?