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