From ef52ed8a109af7512bd9e9ed62d74e36ae2deb41 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 17 Apr 2020 21:04:32 +0200 Subject: grid: reflow: caller may now pass a list of coordinates that should be translated --- grid.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'grid.h') diff --git a/grid.h b/grid.h index d4045189..a2ff4b99 100644 --- a/grid.h +++ b/grid.h @@ -8,7 +8,9 @@ struct row *grid_row_alloc(int cols, bool initialize); void grid_row_free(struct row *row); void grid_reflow( struct grid *grid, int new_rows, int new_cols, - int old_screen_rows, int new_screen_rows); + int old_screen_rows, int new_screen_rows, + size_t tracking_points_count, + struct coord *tracking_points[static tracking_points_count]); static inline int grid_row_absolute(const struct grid *grid, int row_no) -- cgit v1.3