mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
grid: reflow: caller may now pass a list of coordinates that should be translated
This commit is contained in:
parent
e5521ff79a
commit
ef52ed8a10
3 changed files with 11 additions and 4 deletions
4
grid.h
4
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue