end |
end |
|
local function MouseOut(self) |
addon['qtip']:Release(self['tooltip']) |
self['tooltip'] = nil |
end |
|
local function MouseIn(self,adjustedX, adjustedY,playerCoords) |
if(db['hideMapCoords']) then return end |
local tip = addon['qtip']:Acquire(childName.."QTip",2) |
tip:SetParent(WorldMapFrame) |
tip:SetPoint("BOTTOMRIGHT",WorldMapFrame,"BOTTOMRIGHT",-30,0) |
tip:Clear() |
self['tooltip'] = tip |
tip:AddLine(L["Cursor"],format("%.1f, %.1f",adjustedX, adjustedY)) |
tip:AddLine(L["Player"],playerCoords) |
tip:SetBackdropColor(gt_r, gt_g, gt_b, .5) |
tip:Show() |
end |
|
local function OnDataUpdate() |
setPlayerCoords() |
if(zoneText and zoneText~="") then |