Thread Tools Display Modes
Unread 12-29-09, 11:55 AM   #1
Brillynt
A Black Drake
 
Brillynt's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 77
Infopanel numbering suggestion

Hey Scott,

Just a idea so let me know what you think.

Instead of having info panels declare the mode number I think it would be safer for us to call a function in nUI to get the next available mode number it would keep us info panel authors from stepping on each other and any new info panels you create. Also in that same vein maybe the function could track info panel mode numbers between sessions and give the same mode number back to the same info panel. It might be useful also to create a ui frame allowing the user to assign the order they want the panels to switch.

Hmm I think I will take a look at the UI display because it would be nice to see what the values are for all the info panels.

Brillynt
Brillynt is offline  
Unread 12-29-09, 12:08 PM   #2
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,030
Been there, done that rofl.

When I made my first infopanel I came across a problem and it refused to load. Realised it was due to numbering the same as an infopanel I already used.

So I went through all the current infopanels and listed them. Grabbed a number considerably higher than what had been used so far and started from there.

The link is in my signature so you can take a look at what I've done so far

That said, yes, it would be a good idea to have a function to do just that as part of the infopanel system.
__________________
Xrystal is offline  
Unread 12-29-09, 03:51 PM   #3
Carz
nUI User-Supporter
 
Carz's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 133
ya and on that note Hey xry change the nUI_INFOMODE_CARBON # to 35 plz I change it last nite due to alot of new plug ins
__________________
Carz is offline  
Unread 12-29-09, 03:58 PM   #4
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,030
Rofl, also, for those info panel creators out there Maybe post a reply on there so you can keep your own ones updated

But yeah, I'll change that
__________________
Xrystal is offline  
Unread 12-29-09, 04:09 PM   #5
Carz
nUI User-Supporter
 
Carz's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 133
thanks ( dam character limit)
__________________
Carz is offline  
Unread 12-31-09, 12:25 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'm actually going to change how I handle this in nUI6 by building a list and allowing the user to turn the individual plugins on and off via a GUI panel in-game. It will also allow the user to change the rotation order (priority) via the same panel. So the mode number will no longer be used in nUI6.
__________________

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/
spiel2001 is offline  
Unread 01-03-10, 09:36 AM   #7
Brillynt
A Black Drake
 
Brillynt's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 77
Originally Posted by spiel2001 View Post
I'm actually going to change how I handle this in nUI6 by building a list and allowing the user to turn the individual plugins on and off via a GUI panel in-game. It will also allow the user to change the rotation order (priority) via the same panel. So the mode number will no longer be used in nUI6.
That sounds like a better idea Scott.

Thanks,

Brillynt
Brillynt is offline  
Unread 01-03-10, 09:46 AM   #8
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,030
Rofl, just let us know a bit before you release it, what changes we need to make at a minimum for our plugins to work with it rofl. If any.
__________________
Xrystal is offline  
Unread 01-03-10, 10:42 AM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
You won't have to make any changes.
__________________

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/
spiel2001 is offline  
Unread 01-03-10, 10:55 AM   #10
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,030
Rofl, question 2 then

You will let us know which code is now redundant due to the changes ? I hate having code around that is useless
__________________
Xrystal is offline  
Unread 01-03-10, 11:47 AM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah, that I will do.
__________________

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/
spiel2001 is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » Infopanel numbering suggestion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off