New InfoPanels
One of the features I like most about nUI is the implementation of InfoPanels.
I have created an InfoPanel for an addon. I was a professional programmer many many years ago but don't feel comfortable with WOW API, LUA, NUI yet. I'd like someone to look over the InfoPanel code to make sure I didn't miss anything obvious before I make additional InfoPanels for more addons. Would one of you be willing to look it over? Tear it appart? Make suggestions? My feelings won't be hurt. If yes, where do I post it? |
Did you use one of the existing info panel plugin addons as a starting base ? If so you probably haven't gone too far wrong but I'm sure if you post the code up here we can point out any redundant or missing code.
For example. My first plugin ( guild chat ) was based on Scott's minimap plugin and the combat log. I then progressed it from that and turned it into a format that was more me but still using the underlining infopanel required coding. With the Mage Ports plugin I tried to design a plugin that didn't need a separate addon to work but had the non plugin code in a separate file to set up the meat of the functionality with the plugin code using the values from that file. |
I'd be happy to look at it... just post it in a reply to this message... scroll down the message editor page and you'll see a "Manage Attachments" button you can use to upload it as an attachment to your forum post.
|
Rofl, or what Scott said :D
|
1 Attachment(s)
The addon I want to put into an Info Panel is SmartDebuff.
I copied parts from two other info panels. I looked inside SmartDebuff to find the routine to toggle displaying the window. I used Setpoint to align the SmartDebuff window inside the panel but I did not do any scaling. The end of the attached addon has an if...then...else that doesn't appear to do anything but I left it since it was copied from one of the other info panel addons. I'd like to have this addon scale the SmartDebuff window to fit the panel. I've found a panel that does that but haven't experimented with it yet. Is there a list of info panels and the panel number they use? |
Quote:
|
Quote:
I posted here with the list at the time : http://www.wowinterface.com/forums/s...18&postcount=1 .. although I haven't updated it recently. But, I keep my IDs in sequence so perhaps others can pick another sequence so we do not clash. |
All times are GMT -6. The time now is 09:32 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI