aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/grid.h b/grid.h
index cbe60536..1066e28f 100644
--- a/grid.h
+++ b/grid.h
@@ -6,11 +6,16 @@
void grid_swap_row(struct grid *grid, int row_a, int row_b);
struct row *grid_row_alloc(int cols, bool initialize);
void grid_row_free(struct row *row);
-void grid_reflow(
+
+void grid_resize_without_reflow(
+ struct grid *grid, int new_rows, int new_cols,
+ int old_screen_rows, int new_screen_rows);
+
+void grid_resize_and_reflow(
struct grid *grid, int new_rows, int new_cols,
int old_screen_rows, int new_screen_rows,
size_t tracking_points_count,
- struct coord *const tracking_points[static tracking_points_count],
+ struct coord *const _tracking_points[static tracking_points_count],
size_t compose_count,
const struct composed composed[static compose_count]);