Thread Tools Display Modes
06-28-10, 03:41 PM   #1
kittiechan
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 16
Action Bar "shadows"

Is there a way to turn the shading off in the action bars? I don't have my bars all filled in with spells and it looks unsightly having a sort of shadow around empty space where the rest of my action bar would be.

Click image for larger version

Name:	actionbarshadows.jpg
Views:	242
Size:	7.7 KB
ID:	4539

I have looked through the nUI > Layouts > Default > Art and found a few action bar blp files (I have the plugin to convert them to image files). I'm wondering if I can just disable the graphic or if I need to make a new image thats just blank. Thanks in advance.
 
06-28-10, 05:53 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Edit [ Interface > AddOns > nUI > Bars > nUI_ButtonBars.lua ] and locate the following section then comment out the part I highlighted. That should do the trick.

Code:
function nUI_ButtonBars:createBar( name, layout )
    
--    nUI_ProfileStart( ProfileCounter, "createBar" );
    
    local bar  = CreateFrame( "Frame", name, nUI_Dashboard.Anchor, "SecureHandlerStateTemplate" );
    bar.events = CreateFrame( "Frame", name.."_Events", nUI_ButtonBars );
    bar.layout = layout;
--[[    
    bar:SetBackdrop(
        {
            bgFile   = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBg.blp", 
            edgeFile = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBorder.blp", 
            tile     = true, 
            tileSize = 1, 
            edgeSize = 12, 
            insets   = {left = 0, right = 0, top = 0, bottom = 0},
        }
    );
    
    bar:SetBackdropColor( 0, 0, 0, 0.35 );
]]--
__________________

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/
 
06-28-10, 06:02 PM   #3
kittiechan
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 16
Perfect
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Action Bar "shadows"

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