- added user-submitted custom cooldown tracker module. thanks regmellon!

This commit is contained in:
Parnic
2009-05-08 04:12:26 +00:00
parent 790785ef39
commit bbecc1524c
6 changed files with 329 additions and 13 deletions

View File

@ -540,6 +540,17 @@ IceHUD.options =
order = 94.6
},
customCD = {
type = 'execute',
name = 'Create cooldown bar',
desc = 'Creates a new customized ability cooldown bar',
func = function()
IceHUD.IceCore:AddNewDynamicModule(IceCustomCDBar:new())
StaticPopup_Show("ICEHUD_CUSTOM_CD_CREATED")
end,
order = 94.7
},
configMode = {
type = 'toggle',
name = '|cffff0000Configuration Mode|r',
@ -629,6 +640,15 @@ StaticPopupDialogs["ICEHUD_CUSTOM_COUNTER_CREATED"] =
hideOnEscape = 0,
}
StaticPopupDialogs["ICEHUD_CUSTOM_CD_CREATED"] =
{
text = "A custom cooldown bar has been created and can be configured through Module Settings => MyCustomCD. It is highly recommended that you change the bar name of this module so that it's easier to identify.",
button1 = OKAY,
timeout = 0,
whileDead = 1,
hideOnEscape = 0,
}
StaticPopupDialogs["ICEHUD_DELETE_CUSTOM_MODULE"] =
{
text = "Are you sure you want to delete this module? This will remove all settings associated with it and cannot be un-done.",