WoWInterface SVN LevelSnap

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 12 to Rev 13
    Reverse comparison

Rev 12 → Rev 13

trunk/LevelSnap/LevelSnap.lua
49,16 → 49,14
 
local CHARACTER_MAXLEVEL = 80;
 
if (not LevelSnap) then
LevelSnap = {}
end
LevelSnap = {
 
LevelSnap.Setting = {
Setting = {
Version = GetAddOnMetadata("LevelSnap", "Version");
Revision = tonumber(strsub("$Rev$", 7, strlen("$Rev$") - 2));
}
},
 
LevelSnap.On = {
On = {
 
Event = function(event)
 
77,17 → 75,17
 
end;
 
}
},
 
LevelSnap.Function = {
Function = {
 
TakeScreenshot = function()
Chronos.schedule(1, TakeScreenshot)
end;
 
}
},
 
LevelSnap.Out = {
Out = {
 
Print = function(msg)
DEFAULT_CHAT_FRAME:AddMessage(LS_TITLE..": "..msg, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
116,9 → 114,9
LevelSnap.Out.Print(LS_VERSION..": "..LevelSnap.Color.Green(version))
end;
 
}
},
 
LevelSnap.Color = {
Color = {
 
Green = function(msg)
return "|cff00cc00"..msg.."|r";
128,6 → 126,8
return "|cffff0000"..msg.."|r";
end;
 
},
 
}
 
if (not LevelSnapFrame) then