WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   Action Bar "shadows" (https://www.wowinterface.com/forums/showthread.php?t=33572)

kittiechan 06-28-10 03:41 PM

Action Bar "shadows"
 
1 Attachment(s)
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.

Attachment 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.

spiel2001 06-28-10 05:53 PM

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 );

]]--


kittiechan 06-28-10 06:02 PM

Perfect :)


All times are GMT -6. The time now is 04:40 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI