WoW LibDBIcon-1.0 addon Shadowlands/Burning Crusade Classic 2021
logo
wow addon LibDBIcon-1.0

LibDBIcon-1.0

Game Version: 9.0.5
Total Downloads: 1,055,009
Updated: Mar 27, 2021
Created: Oct 17, 2008
download LibDBIcon-1.0Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
v9.0.2 release 9.47 KB Mar 27, 2021 9.0.5 0 download LibDBIcon-1.0 v9.0.2 releaseDownload
v9.0.1 release 9.47 KB Nov 23, 2020 9.0.2 15,871 download LibDBIcon-1.0 v9.0.1 releaseDownload
v9.0.0 release 9.53 KB Nov 10, 2020 9.0.1 8,880 download LibDBIcon-1.0 v9.0.0 releaseDownload
v8.2.0 release 9.42 KB Jun 26, 2019 8.2.0 74,169 download LibDBIcon-1.0 v8.2.0 releaseDownload
v8.0.4 release 9.43 KB Nov 12, 2018 8.0.1 15,442 download LibDBIcon-1.0 v8.0.4 releaseDownload
v8.0.3 release 9.43 KB Aug 11, 2018 8.0.1 15,173 download LibDBIcon-1.0 v8.0.3 releaseDownload
v8.0.2 release 9.40 KB Aug 10, 2018 8.0.1 4,155 download LibDBIcon-1.0 v8.0.2 releaseDownload
v8.0.1 release 9.54 KB Aug 10, 2018 8.0.1 291 download LibDBIcon-1.0 v8.0.1 releaseDownload
v8.0.0 release 9.54 KB Aug 7, 2018 8.0.1 6,314 download LibDBIcon-1.0 v8.0.0 releaseDownload
r66-release release 9.04 KB Jul 21, 2018 8.0.1 10,990 download LibDBIcon-1.0 r66-release releaseDownload
r64-release release 9.35 KB Jul 17, 2018 8.0.1 14,856 download LibDBIcon-1.0 r64-release releaseDownload
r62-release release 9.38 KB Feb 24, 2018 7.3.5 15,700 download LibDBIcon-1.0 r62-release releaseDownload
r56-release release 9.51 KB Oct 26, 2016 7.1.0 43,242 download LibDBIcon-1.0 r56-release releaseDownload
r54-release release 9.55 KB Jul 25, 2016 7.0.3 29,497 download LibDBIcon-1.0 r54-release releaseDownload
r52-release release 9.49 KB Jul 20, 2016 7.0.3 12,643 download LibDBIcon-1.0 r52-release releaseDownload
r50-release release 9.53 KB Sep 19, 2015 6.2.2 28,870 download LibDBIcon-1.0 r50-release releaseDownload
r48-release release 9.47 KB Aug 23, 2015 6.2.0 11,634 download LibDBIcon-1.0 r48-release releaseDownload
r46-release release 9.48 KB Jun 24, 2015 6.2.0 18,258 download LibDBIcon-1.0 r46-release releaseDownload
r44-release release 9.49 KB Feb 25, 2015 6.1.0 22,751 download LibDBIcon-1.0 r44-release releaseDownload
r42-release release 9.58 KB Jan 24, 2015 6.0.3 16,278 download LibDBIcon-1.0 r42-release releaseDownload
r40-release release 9.65 KB Oct 14, 2014 6.0.2 31,731 download LibDBIcon-1.0 r40-release releaseDownload
r38-release release 9.65 KB Sep 9, 2013 5.4.0 45,976 download LibDBIcon-1.0 r38-release releaseDownload
r36-release release 9.70 KB May 21, 2013 5.3.0 23,499 download LibDBIcon-1.0 r36-release releaseDownload
r33-release release 9.58 KB Mar 5, 2013 5.2.0 23,761 download LibDBIcon-1.0 r33-release releaseDownload
r31-release release 9.64 KB Nov 28, 2012 5.1.0 29,725 download LibDBIcon-1.0 r31-release releaseDownload
r27-release release 9.59 KB Aug 30, 2012 5.0.4 36,991 download LibDBIcon-1.0 r27-release releaseDownload
r20 release 9.14 KB Jun 28, 2011 4.2.0 131,967 download LibDBIcon-1.0 r20 releaseDownload
r18 release 9.25 KB Nov 16, 2010 4.0.3a 189,085 download LibDBIcon-1.0 r18 releaseDownload
r17 release 9.19 KB Oct 31, 2010 4.0.1 86,966 download LibDBIcon-1.0 r17 releaseDownload
r16 release 9.17 KB Oct 16, 2010 4.0.1 36,284 download LibDBIcon-1.0 r16 releaseDownload
r15 release 9.08 KB Sep 20, 2010 3.3.5 6,784 download LibDBIcon-1.0 r15 releaseDownload
r11 release 8.69 KB Sep 3, 2009 3.3.0 667 download LibDBIcon-1.0 r11 releaseDownload
r9 release 8.65 KB Apr 14, 2009 3.1.0 990 download LibDBIcon-1.0 r9 releaseDownload
r88-alpha alpha 9.22 KB Mar 27, 2021 9.0.5 0 download LibDBIcon-1.0 r88-alpha alphaDownload
r86-alpha alpha 9.22 KB Nov 23, 2020 9.0.2 15 download LibDBIcon-1.0 r86-alpha alphaDownload
r84-alpha alpha 9.53 KB Nov 10, 2020 9.0.1 9 download LibDBIcon-1.0 r84-alpha alphaDownload
r83-alpha alpha 9.17 KB Nov 10, 2020 9.0.1 10 download LibDBIcon-1.0 r83-alpha alphaDownload
r81-alpha alpha 9.17 KB Jun 26, 2019 8.2.0 101 download LibDBIcon-1.0 r81-alpha alphaDownload
r79-alpha alpha 9.17 KB Nov 12, 2018 8.0.1 121 download LibDBIcon-1.0 r79-alpha alphaDownload
r77-alpha alpha 9.15 KB Aug 11, 2018 8.0.1 122 download LibDBIcon-1.0 r77-alpha alphaDownload
r75-alpha alpha 9.10 KB Aug 10, 2018 8.0.1 91 download LibDBIcon-1.0 r75-alpha alphaDownload
r73-alpha alpha 9.54 KB Aug 10, 2018 8.0.1 77 download LibDBIcon-1.0 r73-alpha alphaDownload
r72-alpha alpha 9.13 KB Aug 10, 2018 8.0.1 86 download LibDBIcon-1.0 r72-alpha alphaDownload
r70-alpha alpha 9.54 KB Aug 7, 2018 8.0.1 96 download LibDBIcon-1.0 r70-alpha alphaDownload
r69-alpha alpha 9.07 KB Aug 7, 2018 8.0.1 174 download LibDBIcon-1.0 r69-alpha alphaDownload
r68-alpha alpha 9.08 KB Aug 7, 2018 8.0.1 76 download LibDBIcon-1.0 r68-alpha alphaDownload
r67-alpha alpha 8.87 KB Aug 6, 2018 8.0.1 295 download LibDBIcon-1.0 r67-alpha alphaDownload
r65-alpha alpha 8.77 KB Jul 21, 2018 8.0.1 82 download LibDBIcon-1.0 r65-alpha alphaDownload
r63-alpha alpha 9.10 KB Jul 17, 2018 8.0.1 128 download LibDBIcon-1.0 r63-alpha alphaDownload
r61-alpha alpha 9.10 KB Feb 24, 2018 7.3.5 81 download LibDBIcon-1.0 r61-alpha alphaDownload
r59-alpha alpha 9.45 KB Feb 24, 2018 7.3.5 78 download LibDBIcon-1.0 r59-alpha alphaDownload
r58-alpha alpha 9.44 KB Feb 24, 2018 7.2.5 86 download LibDBIcon-1.0 r58-alpha alphaDownload
r57-alpha alpha 9.07 KB Jun 29, 2017 7.2.5 807 download LibDBIcon-1.0 r57-alpha alphaDownload
r55 alpha 9.44 KB Oct 25, 2016 7.1.0 159 download LibDBIcon-1.0 r55 alphaDownload
r53 alpha 9.49 KB Jul 25, 2016 7.0.3 157 download LibDBIcon-1.0 r53 alphaDownload
r51 alpha 9.42 KB Jul 19, 2016 7.0.3 379 download LibDBIcon-1.0 r51 alphaDownload
r49 alpha 9.47 KB Sep 19, 2015 6.2.2 81 download LibDBIcon-1.0 r49 alphaDownload
r47 alpha 9.41 KB Aug 23, 2015 6.2.0 118 download LibDBIcon-1.0 r47 alphaDownload
r45 alpha 9.42 KB Jun 24, 2015 6.2.0 110 download LibDBIcon-1.0 r45 alphaDownload
r43 alpha 9.42 KB Feb 25, 2015 6.1.0 77 download LibDBIcon-1.0 r43 alphaDownload
r41 alpha 9.52 KB Jan 24, 2015 6.0.3 67 download LibDBIcon-1.0 r41 alphaDownload
r39 alpha 9.58 KB Oct 14, 2014 6.0.2 164 download LibDBIcon-1.0 r39 alphaDownload
r37 alpha 9.58 KB Sep 9, 2013 5.4.0 70 download LibDBIcon-1.0 r37 alphaDownload
r35 alpha 9.64 KB May 21, 2013 5.3.0 76 download LibDBIcon-1.0 r35 alphaDownload
r34 alpha 9.61 KB Apr 24, 2013 5.2.0 1,641 download LibDBIcon-1.0 r34 alphaDownload
r32 alpha 9.52 KB Mar 5, 2013 5.2.0 86 download LibDBIcon-1.0 r32 alphaDownload
r30 alpha 9.58 KB Nov 28, 2012 5.1.0 104 download LibDBIcon-1.0 r30 alphaDownload
r29 alpha 9.72 KB Sep 17, 2012 5.0.5 4,837 download LibDBIcon-1.0 r29 alphaDownload
r28 alpha 9.59 KB Sep 17, 2012 5.0.5 256 download LibDBIcon-1.0 r28 alphaDownload
r26 alpha 9.54 KB Aug 30, 2012 5.0.4 90 download LibDBIcon-1.0 r26 alphaDownload
r25 alpha 9.56 KB Mar 4, 2012 4.2.0 8,077 download LibDBIcon-1.0 r25 alphaDownload
r24 alpha 9.57 KB Jul 23, 2011 4.2.0 15,360 download LibDBIcon-1.0 r24 alphaDownload
r23 alpha 9.51 KB Jul 10, 2011 4.2.0 3,717 download LibDBIcon-1.0 r23 alphaDownload
r22 alpha 9.45 KB Jul 10, 2011 4.2.0 94 download LibDBIcon-1.0 r22 alphaDownload
r21 alpha 9.41 KB Jul 10, 2011 4.2.0 107 download LibDBIcon-1.0 r21 alphaDownload
r19 alpha 9.17 KB May 5, 2011 4.0.6 244 download LibDBIcon-1.0 r19 alphaDownload
r14 alpha 9.14 KB Jul 18, 2010 3.1.0 247 download LibDBIcon-1.0 r14 alphaDownload
r13 alpha 9.06 KB Jul 5, 2010 3.1.0 162 download LibDBIcon-1.0 r13 alphaDownload
r12 alpha 8.79 KB Dec 11, 2009 3.1.0 397 download LibDBIcon-1.0 r12 alphaDownload
r10 alpha 8.67 KB Jun 13, 2009 3.1.0 272 download LibDBIcon-1.0 r10 alphaDownload
r8 alpha 8.78 KB Mar 13, 2009 3.0.9 2,204 download LibDBIcon-1.0 r8 alphaDownload
r7 alpha 8.74 KB Mar 9, 2009 3.0.9 826 download LibDBIcon-1.0 r7 alphaDownload
r6 alpha 8.88 KB Oct 30, 2008 3.0.2 2,409 download LibDBIcon-1.0 r6 alphaDownload
r5 alpha 8.76 KB Oct 18, 2008 3.0.2 86 download LibDBIcon-1.0 r5 alphaDownload
r4 alpha 8.69 KB Oct 17, 2008 3.0.2 100 download LibDBIcon-1.0 r4 alphaDownload
r3 alpha 8.63 KB Oct 17, 2008 3.0.2 94 download LibDBIcon-1.0 r3 alphaDownload
r2 alpha 8.55 KB Oct 17, 2008 3.0.2 106 download LibDBIcon-1.0 r2 alphaDownload

Description

Share this:

Patreon Please support my work on Patreon/GitHub

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")

So in conclusion, here is a complete Ace3 example of how to use this library

“`
local addon = LibStub(“AceAddon-3.0”):NewAddon(“Bunnies”, “AceConsole-3.0”)
local bunnyLDB = LibStub(“LibDataBroker-1.1”):NewDataObject(“Bunnies!”, {
type = “data source”,
text = “Bunnies!”,
icon = “Interface\Icons\INV_Chest_Cloth_17”,
OnClick = function() print(“BUNNIES ARE TAKING OVER THE WORLD”) end,
})
local icon = LibStub(“LibDBIcon-1.0”)

function addon:OnInitialize()
— Obviously you’ll need a ## SavedVariables: BunniesDB line in your TOC, duh!
self.db = LibStub(“AceDB-3.0”):New(“BunniesDB”, {
profile = {
minimap = {
hide = false,
},
},
})
icon:Register(“Bunnies!”, bunnyLDB, self.db.profile.minimap)
self:RegisterChatCommand(“bunnies”, “CommandTheBunnies”)
end

function addon:CommandTheBunnies()
self.db.profile.minimap.hide = not self.db.profile.minimap.hide
if self.db.profile.minimap.hide then
icon:Hide(“Bunnies!”)
else
icon:Show(“Bunnies!”)
end
end
“`

Comments

Add a comment