Quantcast
WoWInterface - View Single Post - Class Name
Thread: Class Name
View Single Post
03-26-10, 07:41 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Not a problem.

It did just occur to me that nUI's class engine does not currently print the class name, only the icon. I'll have to make sure I fix that in nUI6.

In the meantime, if you add the following to your [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > {hud mode} > nUI_HUDSkin_{hud mode}_Target.lua ] file it will add an easy to see class icon top dead center in the HUD immediately below the target casting bar...

Code:
        ["Class"] =
        {
            anchor =
            {
                anchor_pt   = "TOP",
                relative_to = "$parent_Casting",
                relative_pt = "BOTTOM",
                xOfs        = 0,
                yOfs        = 5,
            },        
            options =
            {
                enabled = true,
                size    = 75,
                inset   = 6,
                strata  = nil,
                level   = 2,
            },
        },
You can change the size of the icon by playing with the "size = 75" element.
__________________

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/