Quantcast Removing boarders from frames - WoWInterface
Thread Tools Display Modes
07-03-09, 06:28 PM   #1
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 2
Removing borders from frames

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.

Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	794
Size:	187.8 KB
ID:	3016  

Last edited by jemarti : 07-03-09 at 06:40 PM. Reason: I wanted to fix my lame spelling in the title
07-03-09, 08:04 PM   #2
nUI's Author
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.

Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
07-04-09, 06:45 PM   #3
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 2
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!

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » Removing boarders from frames

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off