mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Version 0.5
- Graphical combo points - Various tweaks and bug fixes (ie. mirror timer bar)
This commit is contained in:
18
IceHUD.lua
18
IceHUD.lua
@ -403,7 +403,7 @@ IceHUD.options =
|
||||
name = '|cffff0000Reset|r',
|
||||
desc = "Resets all IceHUD options - WARNING: Reloads UI",
|
||||
func = function()
|
||||
IceHUD.IceCore:ResetSettings()
|
||||
StaticPopup_Show("ICEHUD_RESET")
|
||||
end,
|
||||
order = 92
|
||||
},
|
||||
@ -445,7 +445,7 @@ IceHUD.slashMenu =
|
||||
type = 'execute',
|
||||
func = function()
|
||||
if not (IceHUD.dewdrop:IsRegistered(IceHUD.IceCore.IceHUDFrame)) then
|
||||
IceHUD.dewdrop:Register(IceHUD.IceCore.IceHUDFrame,
|
||||
IceHUD.dewdrop:Register(IceHUD.IceCore.IceHUDFrame,
|
||||
'children', IceHUD.options,
|
||||
'point', "BOTTOMLEFT",
|
||||
'relativePoint', "TOPLEFT",
|
||||
@ -456,6 +456,20 @@ IceHUD.slashMenu =
|
||||
end
|
||||
}
|
||||
|
||||
StaticPopupDialogs["ICEHUD_RESET"] =
|
||||
{
|
||||
text = "Are you sure you want to reset IceHUD settings?",
|
||||
button1 = "Okay",
|
||||
button2 = "Cancel",
|
||||
timeout = 0,
|
||||
whileDead = 1,
|
||||
hideOnEscape = 1,
|
||||
OnAccept = function()
|
||||
print("hellooo")
|
||||
IceHUD.IceCore:ResetSettings()
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
|
||||
function IceHUD:OnInitialize()
|
||||
|
Reference in New Issue
Block a user