* Added Libaries - AceConfig is used to register interface options with the Blizzard Addons UI - AceGUI is used to create the options window - LibDataBroker registers the optionsTable - LibDBIcon registers the optionsTable * Added new libraries to embeds.xml * Added function to remove all sounds from queue - this is used for a minimap button feature * Updated Utils - Added a function to add color to text. This is used when creating the options menu. * Added minimap Icon - I made this icon using the icon for the addon (slightly modified to fit the small resolution) * Modified db variables - Changed ShowFrameBackground to a string value (easier when using Ace dropdown) * Add Options Menu - Added the framework for an options menu that hooks into the Interface options panel as well. - I elected to break things down into localized modules with a Module Loader utility class. - Also added some useful debugging utility too * Added new Options files to TOC * Added minimap button - Removed old settings code and redirected the settings button to open the new settings window - Added all the settings from the old frame - Added ability to hide the talking frame as well - Minimap button has three actions: -- Left Click: Opens settings menu -- Right Click: Stops & clears all queued audio -- Middle Click: Pauses/Plays audio * Added "Hide Minimap" option * Module-less version - Settings have been moved to an options panel - Minimap button has a few neat functions - Added ability to hide talking NPC head (useful for immersion addon) * Changed path used to reach option variables
LibDataBroker is a small WoW addon library designed to provide a "MVC":http://en.wikipedia.org/wiki/Model-view-controller 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. h2. Links * "API documentation":http://github.com/tekkub/libdatabroker-1-1/wikis/api * "Data specifications":http://github.com/tekkub/libdatabroker-1-1/wikis/data-specifications * "Addons using LDB":http://github.com/tekkub/libdatabroker-1-1/wikis/addons-using-ldb