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, }, }