mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Modifications for Clique support
This commit is contained in:
@ -3,9 +3,9 @@
|
|||||||
## Name: IceHUD
|
## Name: IceHUD
|
||||||
## Title: IceHUD |cff7fff7f -Ace2-|r
|
## Title: IceHUD |cff7fff7f -Ace2-|r
|
||||||
## Notes: Another HUD mod
|
## Notes: Another HUD mod
|
||||||
## Version: 0.6.3 ($Revision$)
|
## Version: 0.6.4 ($Revision$)
|
||||||
## SavedVariables: IceCoreDB
|
## SavedVariables: IceCoreDB
|
||||||
## OptionalDeps: Ace2, DewdropLib, FuBar_ToFu, DruidBar, SoleManax, MobHealth
|
## OptionalDeps: Ace2, DewdropLib, FuBar_ToFu, DruidBar, SoleManax, MobHealth, SpellStatusLib
|
||||||
## X-Category: UnitFrame
|
## X-Category: UnitFrame
|
||||||
## X-Date: $Date$
|
## X-Date: $Date$
|
||||||
## X-eMail: iceroth@iceroth.net
|
## X-eMail: iceroth@iceroth.net
|
||||||
|
@ -201,7 +201,7 @@ function TargetInfo.prototype:CreateTextFrame()
|
|||||||
|
|
||||||
self.frame.target.unit = target -- for blizz default tooltip handling
|
self.frame.target.unit = target -- for blizz default tooltip handling
|
||||||
self.frame.target:RegisterForClicks("LeftButtonUp", "RightButtonUp")
|
self.frame.target:RegisterForClicks("LeftButtonUp", "RightButtonUp")
|
||||||
self.frame.target:SetScript("OnClick", function() self:TargetOnClick(arg1) end)
|
self.frame.target:SetScript("OnClick", function() self:OnClick(arg1) end)
|
||||||
self.frame.target:SetScript("OnEnter", function() UnitFrame_OnEnter() end)
|
self.frame.target:SetScript("OnEnter", function() UnitFrame_OnEnter() end)
|
||||||
self.frame.target:SetScript("OnLeave", function() UnitFrame_OnLeave() end)
|
self.frame.target:SetScript("OnLeave", function() UnitFrame_OnLeave() end)
|
||||||
|
|
||||||
@ -596,7 +596,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function TargetInfo.prototype:TargetOnClick(button)
|
function TargetInfo.prototype:OnClick(button)
|
||||||
-- copy&paste from blizz code, it better work ;)
|
-- copy&paste from blizz code, it better work ;)
|
||||||
if (SpellIsTargeting() and button == "RightButton") then
|
if (SpellIsTargeting() and button == "RightButton") then
|
||||||
SpellStopTargeting()
|
SpellStopTargeting()
|
||||||
@ -628,5 +628,6 @@ function TargetInfo.prototype:BuffOnEnter(type)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- Load us up
|
-- Load us up
|
||||||
TargetInfo:new()
|
IceHUD_TargetInfo = TargetInfo:new()
|
||||||
|
@ -332,10 +332,10 @@ function TargetOfTarget.prototype:OnClick(button)
|
|||||||
TargetUnit(self.unit)
|
TargetUnit(self.unit)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
ToggleDropDownMenu(1, nil, TargetFrameDropDown, "cursor")
|
TargetUnit(self.unit)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- load us up
|
-- load us up
|
||||||
TargetOfTarget:new()
|
IceHUD_TargetOfTarget = TargetOfTarget:new()
|
||||||
|
Reference in New Issue
Block a user