Compress/decompress and Encode/Decode DataBase64.
This commit is contained in:
@@ -822,6 +822,14 @@ function Container:delete()
|
||||
Gui.delete( self )
|
||||
end
|
||||
|
||||
function Container:clear()
|
||||
for _, cell in ipairs( self.cells ) do
|
||||
cell:delete()
|
||||
end
|
||||
|
||||
self.cells = {}
|
||||
end
|
||||
|
||||
function Container:set2Top()
|
||||
Gui.set2Top( self )
|
||||
|
||||
|
||||
@@ -146,6 +146,13 @@ function utillib.printt( t )
|
||||
print( "}" )
|
||||
end
|
||||
|
||||
function utillib.colorLerp( a, b, f )
|
||||
return {
|
||||
utillib.round( utillib.lerp( a[1], b[1], f ) ),
|
||||
utillib.round( utillib.lerp( a[2], b[2], f ) ),
|
||||
utillib.round( utillib.lerp( a[3], b[3], f ) ) }
|
||||
end
|
||||
|
||||
-- Move secuence of elements inside table.
|
||||
function utillib.tableMove( t, src, len, dest )
|
||||
local copy = table.move( t, src, src + len - 1, 1, {} )
|
||||
|
||||
Reference in New Issue
Block a user