Quantcast WoWInterface - View Single Post - How to do SetBackdrop and handle 1px stuff in just one call.
View Single Post
05-27-11, 06:18 AM   #3
hankthetank
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2009
Posts: 64
I like the example. I did something similar with my UI to apply an inner glow from within Skinner's frame factory after realizing that SetBackdrop ist nothing more than a convenience function for 9 :CreateTextures, some :SetPoints and affine transformations via SetTexCoords (rotating the border tiles). You can reverse engineer it pretty easily when looking at the regions of a new frame after setting the backdrop.

skinner.lua

imaging.lua

And I have to agree with Goldpaw that creating clean borders is a somewhat difficult endeavor from time to time. I sometimes had issues with spacing between the border and the background when there shouldn't be any.

Last edited by hankthetank : 05-27-11 at 06:35 AM.
  Reply With Quote