diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 21:19:08 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-15 21:19:08 +0000 |
| commit | 38a682f0d0114e118e71482ee1cfb89bc846f20d (patch) | |
| tree | 7d997b04b34f38b9a372a202531f7b8da7f03040 /grid.h | |
| parent | wayland: output_mode: update PPI (diff) | |
render/grid: move grid reflow code to grid.c
Diffstat (limited to 'grid.h')
| -rw-r--r-- | grid.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ void grid_swap_row(struct grid *grid, int row_a, int row_b, bool initialize); struct row *grid_row_alloc(int cols, bool initialize); void grid_row_free(struct row *row); +int grid_reflow( + struct grid *grid, int new_rows, int new_cols, + int old_screen_rows, int new_screen_rows); static inline int grid_row_absolute(const struct grid *grid, int row_no) |
