WoW:API Frame SetBackdrop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
Note that it looks pretty retarded without any insets. And if you do not escape the backslashes, it will not work at all. Just use slashes, geez.<br /> | Note that it looks pretty retarded without any insets. And if you do not escape the backslashes, it will not work at all. Just use slashes, geez.<br /> | ||
[[User:Loriel|Loriel]] 09:35, 2 Nov 2005 (EST) | [[User:Loriel|Loriel]] 09:35, 2 Nov 2005 (EST) | ||
{{template:WoW API}} |
Revision as of 17:51, 30 December 2005
Syntax
SetBackdrop({bgFile = "bgFile", edgeFile = "edgeFile", tile = false, tileSize = 0, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }})
Using 'nil' as the only parameter will remove the backdrop on the indicated frame.
Example
MinimapCluster:SetBackdrop({bgFile = "Interface\Tooltips\UI-Tooltip-Background", edgeFile = "Interface\Tooltips\UI-Tooltip-Border", tile = true, tileSize = 32, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }}) --Nathanmx 03:23, 1 Oct 2005 (EDT)
Note that it looks pretty retarded without any insets. And if you do not escape the backslashes, it will not work at all. Just use slashes, geez.
Loriel 09:35, 2 Nov 2005 (EST)