WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   nUI: Developer Chat (http://www.wowinterface.com/forums/forumdisplay.php?f=96)
-   -   Removing boarders from frames (http://www.wowinterface.com/forums/showthread.php?t=25181)

jemarti 07-03-09 06:28 PM

Removing borders from frames
 
1 Attachment(s)
I apologize if this is the wrong forum for this post.
I started creating a skin, and wanted to turn off the borders on most if not all frames. In my skin addon I added several lines in the onEvent function to turn off frame borders and backgrounds like this:

nUI_ActionBar:SetBackdrop ({nil});

I was able to turn off borders and backgrounds on everything except the unit frame windows. I was able to Identify a couple of hundred frames that appear to be related to unit frames with names such as:
nUI_SoloUnit_Player, nUI_SoloUnit_Player_Background, nUI_Raid20Unit_Raid1, nUI_Raid20Unit_Raid1_Background, etc., but setting SetBackdrop to nil has no affect.

Does anyone know what frames actually hold the visible boarders for the unit frames.

I've attached a screen shot of what I have so far.

Thanks,
Jim

spiel2001 07-03-09 08:04 PM

You could just edit the [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitSkin_{panel mode}_{unit id}.lua ] files and comment out the backgrounds.

jemarti 07-04-09 06:45 PM

Thanks for the fast response!
I was trying to avoid messing around in your code so that I could release this as a skin. It's not a big deal if I can't change some of the borders via an external addon.

Again, thanks!


All times are GMT -6. The time now is 06:29 AM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC