WoWInterface SVN NeedyGreedy

Compare Revisions

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

Rev 93 → Rev 92

trunk/Localization/enUS.lua
55,7 → 55,5
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
trunk/NeedyGreedy.lua
210,15 → 210,6
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",
},
 
},
},
245,7 → 236,6
resetInNewParty = "ask",
resetInNewInstance = "ask",
tooltipScale = 1,
lockTooltip = false,
}
}
 
1160,17 → 1150,8
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
1285,10 → 1266,8
self.db.profile.reportFramePos.x, self.db.profile.reportFramePos.y)
 
-- Make it move !
if not self.db.profile.lockTooltip then
self.detachedTooltip:SetScript("OnMouseDown", Detached_OnMouseDown)
self.detachedTooltip:SetScript("OnMouseUp", Detached_OnMouseUp)
end
self.detachedTooltip:SetScript("OnMouseDown", Detached_OnMouseDown)
self.detachedTooltip:SetScript("OnMouseUp", Detached_OnMouseUp)
end
end