WoWInterface SVN LevelSnap

Compare Revisions

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

Rev 13 → Rev 12

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