some helpers

This commit is contained in:
Kartik K. Agaram 2023-06-20 17:34:03 -07:00
parent 8a183b2214
commit 5e5e598cab
2 changed files with 12 additions and 0 deletions

6
0031-cols Normal file
View File

@ -0,0 +1,6 @@
cols = function(margin, data)
-- helper for creating a 'cols' node
return {type='cols', margin=margin,
data=data or {}
}
end

6
0032-rows Normal file
View File

@ -0,0 +1,6 @@
rows = function(margin, data)
-- helper for creating a 'rows' node
return {type='rows', margin=margin,
data=data or {}
}
end