/
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", |
}, |
}, |
}, |
resetInNewParty = "ask", |
resetInNewInstance = "ask", |
tooltipScale = 1, |
lockTooltip = false, |
} |
} |
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 |
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 |
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 |