aboutsummaryrefslogtreecommitdiff
path: root/grid-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'grid-view.c')
-rw-r--r--grid-view.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/grid-view.c b/grid-view.c
index a4bd5ba2..f230d3c8 100644
--- a/grid-view.c
+++ b/grid-view.c
@@ -45,6 +45,13 @@ grid_view_set_cell(struct grid *gd, u_int px, u_int py,
grid_set_cell(gd, grid_view_x(gd, px), grid_view_y(gd, py), gc);
}
+/* Set padding. */
+void
+grid_view_set_padding(struct grid *gd, u_int px, u_int py)
+{
+ grid_set_padding(gd, grid_view_x(gd, px), grid_view_y(gd, py));
+}
+
/* Set cells. */
void
grid_view_set_cells(struct grid *gd, u_int px, u_int py,