View Single Post
10-30-09, 05:13 PM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It's far more likely that you want to edit [ Interface > AddOns > nUI > Units > nUI_UnitFrame.lua ] if you're dead set on doing this though I do agree with Xrystal that this is something I generally discourage given the potential for side effects. And, to be perfectly honest, I'm not sure what "programming" you can do to address those buttons... these are honest to goodness Bliz unit frames and should already support whatever they support. Aside from hard coding special attributes for certain frames, I' m not sure what would make those buttons work in Grid and not in nUI and if you want to code special attributes, then it is no longer portable between player or characters.

All of that said, if someone can tell me how to "fix" this then I'll be happy to include it in the core code. Otherwise, it's going to have to wait for nUI6 when you have the ability to customize the attributes of unit frames on a per character basis.
__________________

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/