- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
4,841 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Rift Addons
- Top Skyrim Mods
- Top Minecraft Server Mods
- Top Terraria Maps
- Top Starcraft II Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
AceGUI-3.0-SharedMediaWidgets
- 0 Likes
- World of Warcraft
- 125,649 Downloads
- Supports: 3.3.5
- 39 Average Daily Downloads
- Comments
- Created 7/22/2008 12:42:23 PM
- Updated 7/25/2010 12:27:34 PM
- 108 Favorites
- Project Site
- License: Customized BSD
- Release Type: Mature
- Newest File: v3.4.1
About AceGUI-3.0-SharedMediaWidgets
This addon provides 5 AceGUI-3.0 widgets that will make selection LibSharedMedia-3.0 types easier.
The widget names are:
- "LSM30_Font"
- "LSM30_Sound"
- "LSM30_Statusbar"
- "LSM30_Background"
- "LSM30_Border"
to use these widgets simply create the widget and register for the appropriate callback "OnValueChanged"
the other way to use the widgets is to replace the select option in a ACE-3.0 option table by adding dialogControl = "widget name", to it you will also need to supply a list of keys to the values you may use the lists provided by the widgets by setting values as(use the appropriate one) you may also use the HashTable function provided by LibSharedMedia-3.0:
- AceGUIWidgetLSMlists.font
- AceGUIWidgetLSMlists.sound
- AceGUIWidgetLSMlists.statusbar
- AceGUIWidgetLSMlists.border
- AceGUIWidgetLSMlists.background
here is some sample code that works with the above generated list to add a Font Selection box to a Ace-3.0 optiontable. Of course you need to use AceConfigDialog-3.0 to actually see the widget :P
font = { type = 'select', dialogControl = 'LSM30_Font', --Select your widget here name = 'Some Name', desc = 'Some Description', values = LSM:HashTable("font"), -- pull in your font list from LSM get = function() return current -- variable that is my current selection end, set = function(self,key) current = key -- saves our new selection the the current one end, }
Instead of pulling in the font list from LSM you can also use the provided font table as seen in the code sample below
font = { type = 'select', dialogControl = 'LSM30_Font', --Select your widget here name = 'Some Name', desc = 'Some Description', values = AceGUIWidgetLSMlists.font, -- this table needs to be a list of keys found in the sharedmedia type you want get = function() return current -- variable that is my current selection end, set = function(self,key) current = key -- saves our new selection the the current one end, }
if you want to make the widgets optional you can check if they are loaded by trying to access them via libstub:
local areWidgetsLoaded = LibStub:GetLibrary("AceGUISharedMediaWidgets-1.0", true) --returns a table if the widgets are leaded or nil if they are not.
Screen shots
The LSM30_Sound widget (and yes you can preview the sound by clicking on the speaker)

------------------------------------------------------------------------
r33 | yssaril | 2010-07-25 17:23:31 +0000 (Sun, 25 Jul 2010) | 1 line
Changed paths:
A /tags/v3.4.1 (from /trunk:32)
Tagging as v3.4.1
------------------------------------------------------------------------
r32 | yssaril | 2010-07-22 19:41:17 +0000 (Thu, 22 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
forgot to bump the widget version numbers
------------------------------------------------------------------------
r31 | yssaril | 2010-07-21 21:27:09 +0000 (Wed, 21 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
fix a backward compatibility issue with addons still using t[name] = name tables instead of the LSM hash table t[name] = path. (should now give those addons previews of the selections again)
------------------------------------------------------------------------
r30 | yssaril | 2010-07-21 19:56:18 +0000 (Wed, 21 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/prototypes.lua
cosmetic alignment fix of the StatusbarWidget
------------------------------------------------------------------------
r28 | yssaril | 2010-07-14 04:11:26 +0000 (Wed, 14 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
Get AceGUI focus before we generate the dropdown (reduces frame creation)
------------------------------------------------------------------------
r27 | yssaril | 2010-07-13 14:51:57 +0000 (Tue, 13 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/prototypes.lua
widgets could error out if the old ones loaded after the new ones. Should be fixed now (LibStub to the rescue)
------------------------------------------------------------------------
r26 | yssaril | 2010-07-12 22:09:59 +0000 (Mon, 12 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
widgets will now once again auto populate if a nil list is set
------------------------------------------------------------------------
r25 | yssaril | 2010-07-12 19:45:14 +0000 (Mon, 12 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
forgot to bump widget version number
------------------------------------------------------------------------
r24 | yssaril | 2010-07-12 19:44:14 +0000 (Mon, 12 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/prototypes.lua
fixed global number nil error. sorry about that. (also removed all trailing spaces)
------------------------------------------------------------------------
r23 | yssaril | 2010-07-12 06:55:27 +0000 (Mon, 12 Jul 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
D /trunk/AceGUI-3.0-SharedMediaWidgets/SharedFunctions.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
A /trunk/AceGUI-3.0-SharedMediaWidgets/prototypes.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/widget.xml
M /trunk/AceGUI-3.0-SharedMediaWidgets.toc
Complete recoding of all widgets. They no longer leach of the Dropdown widget. Nothing changed API wise.
------------------------------------------------------------------------
r22 | nevcairiel | 2010-02-09 20:09:10 +0000 (Tue, 09 Feb 2010) | 1 line
Changed paths:
M /trunk/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SharedFunctions.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
M /trunk/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua
Check if the pullout is still open before trying to close it, hopefully fixing a rare error occuring when selecting an option in the dropdown.
------------------------------------------------------------------------
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| v3.4.1 | Release | 3.3.5 | 74,668 | 7/25/2010 12:27:34 PM |
| v3.4.0 | Release | 3.3.5 | 420 | 7/20/2010 11:24:53 AM |
| 3.3.1 | Release | 3.3.0 | 1 | 12/8/2009 1:09:18 PM |
| v3.3.2 | Release | 3.2.0 | - | 12/5/2009 1:44:52 AM |
| v3.3.1 | Release | 3.2.0 | 5 | 12/2/2009 7:20:02 PM |
| v3.2.5 | Release | 3.2.0 | - | 11/2/2009 12:28:50 AM |
| v3.2.4 | Release | 3.2.0 | - | 8/5/2009 5:41:38 PM |
| v3.2.1 | Release | 3.1.0 | - | 5/3/2009 12:41:21 PM |
| v3.2 | Release | 3.0.2 | - | 10/14/2008 10:30:14 AM |
| AceGUI-3.0-SharedMediaWidgets-r78930 | Beta | 2.4.3 | 4 | 7/22/2008 9:36:05 AM |
| AceGUI-3.0-SharedMediaWidgets-r78450 | Beta | 2.4.3 | - | 7/14/2008 5:21:57 PM |
| AceGUI-3.0-SharedMediaWidgets-r75598 | Beta | 2.4.3 | 2 | 5/30/2008 5:49:35 PM |
Addon Packs Containing This...
-
Hawke's beginner
-
Cauchy of TB's Addon Pack
-
Sithiel's Addon Pack
-
philyon's Addon Pack
-
JewDew4's Addon Pack
-
Maximinimal UI
-
Akki's NoFrillz UI
-
mimo's Addon Pack
-
Horde Hunters Guild Addon Pack
-
StarterKit (made by Subwoofer)
-
Igdrazil's Addon Pack
-
Holy Paladin PVE Addonpack
-
Lilililili - Mage Pack
-
riahna's Addon Pack
-
Evi's nice Raid UI
-
Weilandoh1's Addon Pack
-
Reptile's Addon Pack
-
Xenum's Clean Raiding Addon Pack
-
Flamezz11's Addon Pack
-
Heala's new pack
-
celastus's Addon Pack
-
Warlock Ui by Archu
-
4.2 Firelands Themed Raid Pack
-
Fury Warrior Vizual's addon pack. 15,9 Notebook
-
Alkamar's Essentials Pack







Comments
ID: 1
Error occured in: Global
Count: 1
Message: ...Widgets\AceGUI-3.0-SharedMediaWidgets\prototypes.lua line 16:
Cannot find a library instance of "LibSharedMedia-3.0".
Debug:
[C]: ?
[C]: error()
!Swatter\Support\LibRevision.lua:47: LibStub()
...Widgets\AceGUI-3.0-SharedMediaWidgets\prototypes.lua:16: in main chunk
AddOns:
Swatter, v3.2.3 ()
Ace3, v
AceGUI30CompletingEditBox, v
AceGUI30SharedMediaWidgets, v4.0.0
ACP, vr140
BlizRuntimeLib_enUS v4.0.6.40000
(ck=a5)
library is there..