View Single Post
07/21/15, 11:16 AM   #13
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by sirinsidiator View Post
Maybe you can make a small library instead of everyone making their own version?
That way you don't have to do anything special to make it work between your addons.
For our addons it would need the same code, both Advanced Filters & FilterIt use the default inventory menu bar (with a subBar), but how would AGS or other addons that want to use their own menu bar handle it? Do you still want to use a flag to decide which filter bars get shown? If were doing it in a library I'de rather not watch for loading addons. That would force library updates if addons make changes or new addons are released wanting to use their own bars as well like AGS.

Example Lib:
Warning: Spoiler

Then for an addon like AGS that doesn't want to use those bars you could check to see if the flag is set & if not set it and use your bars.

One other problem, if we use a library, it will pretty much be whichever addon loads first wins without giving the user an option to select which bars to use, unless someone has a suggestion on how to handle that part.

Last edited by circonian : 07/21/15 at 11:20 AM.
  Reply With Quote