diff options
Diffstat (limited to 'grid.h')
| -rw-r--r-- | grid.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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]); |
