WoWInterface SVN NeedyGreedy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 92 to Rev 93
    Reverse comparison

Rev 92 → Rev 93

Localization/enUS.lua
55,5 → 55,7
L["Scale"] = true
L["Adjust the scale of the detached tooltip"] = true
L["Detached Tooltip"] = true
L["Lock Tooltip"] = true
L["Adjust the position of the detached tooltip"] = true
 
end
NeedyGreedy.lua
210,6 → 210,15
get = "GetTooltipScale",
set = "SetTooltipScale",
},
lockTooltip = {
name = L["Lock Tooltip"],
desc = L["Adjust the position of the detached tooltip"],
type = "toggle",
order = 100,
get = "GetLockTooltip",
set = "SetLockTooltip",
width = "full",
},
 
},
},
236,6 → 245,7
resetInNewParty = "ask",
resetInNewInstance = "ask",
tooltipScale = 1,
lockTooltip = false,
}
}
 
1150,8 → 1160,17
self:RefreshTooltip()
end
 
function NeedyGreedy:GetLockTooltip(info)
return self.db.profile.lockTooltip
end
 
function NeedyGreedy:SetLockTooltip(info, lockTooltip)
self.db.profile.lockTooltip = lockTooltip
self:RefreshTooltip()
end
 
 
 
-- QTip Frames
local LibQTip = LibStub('LibQTip-1.0')
local COL_MIN_WIDTH = 60
1266,8 → 1285,10
self.db.profile.reportFramePos.x, self.db.profile.reportFramePos.y)
 
-- Make it move !
self.detachedTooltip:SetScript("OnMouseDown", Detached_OnMouseDown)
self.detachedTooltip:SetScript("OnMouseUp", Detached_OnMouseUp)
if not self.db.profile.lockTooltip then
self.detachedTooltip:SetScript("OnMouseDown", Detached_OnMouseDown)
self.detachedTooltip:SetScript("OnMouseUp", Detached_OnMouseUp)
end
end
end