LibDBIcon-1.0

LibDBIcon-1.0 is a small library you can throw in your LDB addon that will create a small minimap icon for you and nothing more.

Simply get a reference to the library in your addon like so;

local icon = LibStub("LibDBIcon-1.0")

Then after you've registered your LDB object called "MyLDB", you can do:

icon:Register("MyLDB", myLDB, savedVarTable)

Where myLDB is a object reference to your LDB display and savedVarTable is a table where the library can store data like minimap position, radius and the like.

When you create the display, the library will automatically hide or show the icon based on the "hide = true/false" key in savedVarTable. If you want to add an option to hide or show the display, you can hide or show the icon manually during play with:

icon:Hide("MyLDB")


icon:Show("MyLDB")

Facts

Date created
17 Oct 2008
Category
Last update
13 Jun 2009
Development stage
Release
Language
  • deDE
  • enUS
  • esES
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
GNU General Public License version 2 (GPLv2)
Curse link
LibDBIcon-1.0
Reverse relationships
57
Recent files
  • A: r10 for 3.1.0 on 13 Jun 2009
  • R: r9 for 3.1.0 on 14 Apr 2009
  • A: r8 for 3.0.9 on 13 Mar 2009
  • A: r7 for 3.0.9 on 09 Mar 2009
  • A: r6 for 3.0.2 on 30 Oct 2008

Authors

© 2008-2009 Curse Inc.