View Single Post
03-20-09, 12:55 PM   #10
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by wreck View Post
Yea, but the aura buttons mod replace the existing aura scheme. Very different from adding an element to an existing skin. That's the trick I'm trying to figure out.
Not really...

Code:
local myLevelBlock =
{
    anchor =
    {
    -- definitions
    },

    options =
    {
    -- definitions
    },
};

if nUI_UnitSkins[skinName] then
    nUI_UnitSkins[skinName].elements["Level"] = myLevelBlock;
end
__________________

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/