View Single Post
  #8  
Unread 04-02-2012, 06:49 PM
Thaodan's Avatar
Thaodan Thaodan is offline
The Undefeated
 
Join Date: Mar 2012
Posts: 8
A simliar idea like yours had already someone the Addon Fubar had a plugin interface where addons coud write a plugin that their addon can post
text and icons in the bar.

This addon got replaced by a lib libDatabroker that standitzted this.
Thous this all addon can use this to post information in an addon that
supports displaying information via libDatabroker.


Discription of libDatabroker:
LibDataBroker is a small WoW addon library designed to provide an MVC interface for use in various addons. LDB's primary goal is to "detach" plugins for TitanPanel and FuBar from the display addon. Plugins can provide data into a simple table, and display addons can receive callbacks to refresh their display of this data. LDB also provides a place for addons to register "quicklaunch" functions, removing the need for authors to embed many large libraries to create minimap buttons. Users who do not wish to be "plagued" by these buttons simply do not install an addon to render them.

Due to it's simple generic design, LDB can be used for any design where you wish to have an addon notified of changes to a table.

links:
Fubar
libDatabroker at curse
libDatabroker at github
BTW: lotro needs a lib like ace a standart lib.
Reply With Quote