mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- added AceGUI-3.0-SharedMediaWidgets support to the font selection box and ToT bar texture selection
This commit is contained in:
4
.pkgmeta
4
.pkgmeta
@ -25,6 +25,9 @@ externals:
|
|||||||
libs/AceGUI-3.0:
|
libs/AceGUI-3.0:
|
||||||
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceGUI-3.0
|
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceGUI-3.0
|
||||||
tag: latest
|
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:
|
libs/AceAddon-3.0:
|
||||||
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0
|
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0
|
||||||
tag: latest
|
tag: latest
|
||||||
@ -55,4 +58,3 @@ optional-dependencies:
|
|||||||
- libdogtag-3-0
|
- libdogtag-3-0
|
||||||
- libdogtag-unit-3-0
|
- libdogtag-unit-3-0
|
||||||
- librangecheck-2-0
|
- librangecheck-2-0
|
||||||
- libhealcomm-4-0
|
|
@ -373,16 +373,17 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
|||||||
|
|
||||||
textSettings = {
|
textSettings = {
|
||||||
type = 'select',
|
type = 'select',
|
||||||
|
dialogControl = "LSM30_Font",
|
||||||
name = L["Font"],
|
name = L["Font"],
|
||||||
desc = L["IceHUD Font"],
|
desc = L["IceHUD Font"],
|
||||||
order = 19,
|
order = 19,
|
||||||
get = function(info)
|
get = function(info)
|
||||||
return IceHUD:GetSelectValue(info, IceHUD.IceCore:GetFontFamily())
|
return IceHUD.IceCore:GetFontFamily()
|
||||||
end,
|
end,
|
||||||
set = function(info, value)
|
set = function(info, value)
|
||||||
IceHUD.IceCore:SetFontFamily(info.option.values[value])
|
IceHUD.IceCore:SetFontFamily(value)
|
||||||
end,
|
end,
|
||||||
values = SML:List('font'),
|
values = AceGUIWidgetLSMlists.font,
|
||||||
order = 94.75,
|
order = 94.75,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
## Notes: Another HUD addon
|
## Notes: Another HUD addon
|
||||||
## Version: @project-version@ (Revision: @project-revision@)
|
## Version: @project-version@ (Revision: @project-revision@)
|
||||||
## SavedVariables: IceCoreDB
|
## 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-Category: HUDs
|
||||||
## X-Website: http://www.wowace.com/projects/ice-hud/
|
## X-Website: http://www.wowace.com/projects/ice-hud/
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<Include file="libs\AceDB-3.0\AceDB-3.0.xml"/>
|
<Include file="libs\AceDB-3.0\AceDB-3.0.xml"/>
|
||||||
<Include file="libs\AceDBOptions-3.0\AceDBOptions-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\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\AceConfig-3.0\AceConfig-3.0.xml"/>
|
||||||
<Include file="libs\AceEvent-3.0\AceEvent-3.0.xml"/>
|
<Include file="libs\AceEvent-3.0\AceEvent-3.0.xml"/>
|
||||||
<Include file="libs\AceTimer-3.0\AceTimer-3.0.xml"/>
|
<Include file="libs\AceTimer-3.0\AceTimer-3.0.xml"/>
|
||||||
|
@ -126,19 +126,20 @@ function TargetOfTarget.prototype:GetOptions()
|
|||||||
|
|
||||||
opts["texture"] = {
|
opts["texture"] = {
|
||||||
type = 'select',
|
type = 'select',
|
||||||
|
dialogControl = "LSM30_Statusbar",
|
||||||
name = L["Texture"],
|
name = L["Texture"],
|
||||||
desc = L["ToT frame texture"],
|
desc = L["ToT frame texture"],
|
||||||
get = function(info)
|
get = function(info)
|
||||||
return IceHUD:GetSelectValue(info, self.moduleSettings.texture)
|
return self.moduleSettings.texture
|
||||||
end,
|
end,
|
||||||
set = function(info, v)
|
set = function(info, v)
|
||||||
self.moduleSettings.texture = info.option.values[v]
|
self.moduleSettings.texture = v
|
||||||
self:Redraw()
|
self:Redraw()
|
||||||
end,
|
end,
|
||||||
disabled = function()
|
disabled = function()
|
||||||
return not self.moduleSettings.enabled
|
return not self.moduleSettings.enabled
|
||||||
end,
|
end,
|
||||||
values = SML:List(SML.MediaType.STATUSBAR),
|
values = AceGUIWidgetLSMlists.statusbar,
|
||||||
order = 35
|
order = 35
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user