GhostFrame Button Highlight
Hi,
first of all my code: Code:
GhostFrameContentsFrameIcon:SetTexCoord(0.07, 0.93, 0.07, 0.93) My problem is that I cant figure out how to change the highlight texture of the GhostFrame Button. Any suggestions? |
The GhostFrame inherits from the UIPanelLargeSilverButton, so you'll need to look at that to find the highlight texture. It's actually three textures (one for the left end, one for the right end, and another stretched between them for the middle) so you'll need to change each one individually, or get rid of them all and add a single one if you prefer that.
|
Quote:
Code:
<Layers> |
Well that's some lazy programming, even for Blizzard... fortunately you can access all of a frame's regions and children even if they don't have names and/or keys:
Code:
local bgLeft, bgRight, bgMiddle, highlightLeft, highlightRight, highlightMiddle = GhostFrame:GetRegions() |
Quote:
|
All times are GMT -6. The time now is 09:23 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI