local name, addon = ... |
|
local embed = addon:LibInit("zzCommon-Frames", 14, {'AddDrag','LoadFrame','GetFrameCoords','CreateSecureFrame'}) |
local embed = addon:LibInit("zzCommon-Frames", 15, {'AddDrag','LoadFrame','GetFrameCoords','CreateSecureFrame'}) |
if(type(embed) ~= 'function') then return end |
local base = LibStub('zzCommon-Frames') |
base['frames'] = base['frames'] or {} |
|
local round = addon['round'] or function(num, idp) |
local function round(num, idp) |
return math.floor(num * (10^(idp or 0)) + 0.5) / (10^(idp or 0)) |
end |
|