- added AceGUI-3.0-SharedMediaWidgets support to the font selection box and ToT bar texture selection

This commit is contained in:
Parnic
2010-10-21 02:20:09 +00:00
parent 04a885b123
commit 78b825c79d
5 changed files with 33 additions and 28 deletions

View File

@ -25,6 +25,9 @@ externals:
libs/AceGUI-3.0:
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceGUI-3.0
tag: latest
libs/AceGUI-3.0-SharedMediaWidgets:
url: svn://svn.wowace.com/wow/ace-gui-3-0-shared-media-widgets/mainline/trunk/AceGUI-3.0-SharedMediaWidgets
tag: latest
libs/AceAddon-3.0:
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0
tag: latest
@ -55,4 +58,3 @@ optional-dependencies:
- libdogtag-3-0
- libdogtag-unit-3-0
- librangecheck-2-0
- libhealcomm-4-0

View File

@ -373,16 +373,17 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
textSettings = {
type = 'select',
dialogControl = "LSM30_Font",
name = L["Font"],
desc = L["IceHUD Font"],
order = 19,
get = function(info)
return IceHUD:GetSelectValue(info, IceHUD.IceCore:GetFontFamily())
return IceHUD.IceCore:GetFontFamily()
end,
set = function(info, value)
IceHUD.IceCore:SetFontFamily(info.option.values[value])
IceHUD.IceCore:SetFontFamily(value)
end,
values = SML:List('font'),
values = AceGUIWidgetLSMlists.font,
order = 94.75,
},

View File

@ -5,7 +5,7 @@
## Notes: Another HUD addon
## Version: @project-version@ (Revision: @project-revision@)
## SavedVariables: IceCoreDB
## OptionalDeps: Ace3, LibSharedMedia-3.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibRangeCheck-2.0, LibDualSpec-1.0, LibDBIcon-1.0
## OptionalDeps: Ace3, LibSharedMedia-3.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibRangeCheck-2.0, LibDualSpec-1.0, LibDBIcon-1.0, AceGUI-3.0-SharedMediaWidgets
## X-Category: HUDs
## X-Website: http://www.wowace.com/projects/ice-hud/

View File

@ -4,6 +4,7 @@
<Include file="libs\AceDB-3.0\AceDB-3.0.xml"/>
<Include file="libs\AceDBOptions-3.0\AceDBOptions-3.0.xml"/>
<Include file="libs\AceGUI-3.0\AceGUI-3.0.xml"/>
<Include file="libs\AceGUI-3.0-SharedMediaWidgets\widget.xml"/>
<Include file="libs\AceConfig-3.0\AceConfig-3.0.xml"/>
<Include file="libs\AceEvent-3.0\AceEvent-3.0.xml"/>
<Include file="libs\AceTimer-3.0\AceTimer-3.0.xml"/>

View File

@ -126,19 +126,20 @@ function TargetOfTarget.prototype:GetOptions()
opts["texture"] = {
type = 'select',
dialogControl = "LSM30_Statusbar",
name = L["Texture"],
desc = L["ToT frame texture"],
get = function(info)
return IceHUD:GetSelectValue(info, self.moduleSettings.texture)
return self.moduleSettings.texture
end,
set = function(info, v)
self.moduleSettings.texture = info.option.values[v]
self.moduleSettings.texture = v
self:Redraw()
end,
disabled = function()
return not self.moduleSettings.enabled
end,
values = SML:List(SML.MediaType.STATUSBAR),
values = AceGUIWidgetLSMlists.statusbar,
order = 35
}