blob: dcc0cd0d7411c57baa397b5e8a976e0961a49c25 [file] [log] [blame]
local defaults = import './defaults.libsonnet';
local TOTAL_WIDTH = 24;
local DEFAULT_HEIGHT = 11;
{
new(
row,
column,
total_columns=2,
):: {
local width = TOTAL_WIDTH / total_columns,
x: column * width,
y: row * DEFAULT_HEIGHT,
w: width,
h: DEFAULT_HEIGHT,
},
}