WoWInterface SVN zz_Coords

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 70 to Rev 71
    Reverse comparison

Rev 70 → Rev 71

trunk/zz_Coords/provider.lua
47,6 → 47,7
else
mapframe:Hide()
end
mapframe:SetWidth(coordText:GetStringWidth()+4)
mapframe:SetPoint("BOTTOMLEFT", WorldMapFrame, "BOTTOMLEFT", db['windowX'], db['windowY'])
end
end
59,10 → 60,16
mapframe:SetHeight(20)
-- mapframe:SetPoint("BOTTOMLEFT", WorldMapFrame, "BOTTOMLEFT", addon['db']['windowX'], addon['db']['windowY'])
mapframe:SetFrameStrata("HIGH")
mapframe:SetBackdrop({
bgFile = "Interface/Tooltips/UI-Tooltip-Background",
})
mapframe:SetBackdropColor(0,0,0,1);
mapframe.elapsed = 0
coordText = mapframe:CreateFontString(nil, "OVERLAY","GameFontNormal")
coordText:SetAllPoints(mapframe)
coordText:SetJustifyH("LEFT")
coordText:SetShadowColor(1,1,1,.2)
coordText:SetShadowOffset(1,-1)
mapframe:SetScript("OnUpdate", function(self, elapsed)
self.elapsed = self.elapsed + elapsed
if(self.elapsed<0.2) then return end