From 186a07c364536dd482938ba9a0ce0a4d7e6d74c6 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 27 Jun 2020 15:29:47 +0200 Subject: sixel: split -> overwrite --- sixel.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'sixel.h') diff --git a/sixel.h b/sixel.h index 9db720a2..6b272e94 100644 --- a/sixel.h +++ b/sixel.h @@ -12,14 +12,17 @@ void sixel_unhook(struct terminal *term); void sixel_destroy(struct sixel *sixel); -/* Row numbers are relative to current grid offset */ +/* Deletes all sixels that are touched by the specified row(s). Row + * numbers are relative to the current grid aoffset */ void sixel_delete_in_range(struct terminal *term, int row_start, int row_end); void sixel_delete_at_row(struct terminal *term, int row); -void sixel_split_by_rectangle( +/* Remove sixel data from the specified location. Row numbers are + * relative to the current grid offset */ +void sixel_overwrite_by_rectangle( struct terminal *term, int row, int col, int height, int width); -void sixel_split_by_row(struct terminal *term, int row, int col, int width); -void sixel_split_at_cursor(struct terminal *term); +void sixel_overwrite_by_row(struct terminal *term, int row, int col, int width); +void sixel_overwrite_at_cursor(struct terminal *term); void sixel_colors_report_current(struct terminal *term); void sixel_colors_reset(struct terminal *term); -- cgit v1.3