WoWInterface SVN zz_Coords

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 76 to Rev 77
    Reverse comparison

Rev 76 → Rev 77

trunk/zz_Coords/core.lua
66,11 → 66,11
else
return txt
end
return addon['colorize'](txt, col)
return addon:colorize(txt, col)
end
 
local function OnText(message)
addon['OnText'](childName, message or "")
addon:OnText(childName, message or "")
end
 
local function OnTooltip(tip)
182,7 → 182,7
addon:AddConfigEntry(childName,"header",'windowXY',L['Mapcoords Window'],nil,6,nil,nil,nil,nil,options['args'][childName])
addon:AddConfigEntry(childName,"range","windowX",L['Window X'],L['Adjusts the X-Offset on windowed map'],7,-512,512,1,false,options['args'][childName])
addon:AddConfigEntry(childName,"range","windowY",L['Window Y'],L['Adjusts the Y-Offset on windowed map'],8,-512,512,1,false,options['args'][childName])
addon['RegisterFunc']({"ZONE_CHANGED_NEW_AREA","ZONE_CHANGED","ZONE_CHANGED_INDOORS","NEW_WMO_CHUNK"},"OnEvent", ZONED)
addon:RegisterFunc({"ZONE_CHANGED_NEW_AREA","ZONE_CHANGED","ZONE_CHANGED_INDOORS","NEW_WMO_CHUNK"},"OnEvent", ZONED)
ZONED()
end
 
193,4 → 193,4
MinimapCluster:Show()
end
end
addon['startup'](addon, name, childName, init, true, defaults)
addon:startup(name, childName, init, true, defaults)