aboutsummaryrefslogtreecommitdiff
path: root/sixel.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-06-30 15:41:59 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-06-30 15:41:59 +0000
commit08309537ce001a3024f2f7748cef5dc9fe58be1f (patch)
tree53a4cd6d93af11103fc8e78f09341397b3b28ca4 /sixel.h
parentsixel: destroy all sixels when font size is decreased (diff)
parentMerge branch 'master' into sixel-performance (diff)
Merge branch 'sixel-performance'
Diffstat (limited to 'sixel.h')
-rw-r--r--sixel.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/sixel.h b/sixel.h
index fc59d6e9..666b8c40 100644
--- a/sixel.h
+++ b/sixel.h
@@ -13,15 +13,8 @@ void sixel_unhook(struct terminal *term);
void sixel_destroy(struct sixel *sixel);
void sixel_destroy_all(struct terminal *term);
-/*
- * Deletes all sixels that are touched by the specified row(s). Used
- * when scrolling, to competely remove sixels that has either
- * completely, or partly scrolled out of history.
- *
- * Row numbers are relative to the current grid offset.
- */
-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_scroll_up(struct terminal *term, int rows);
+void sixel_scroll_down(struct terminal *term, int rows);
/*
* Remove sixel data from the specified location. Used when printing
@@ -33,7 +26,7 @@ void sixel_delete_at_row(struct terminal *term, int row);
void sixel_overwrite_by_rectangle(
struct terminal *term, int row, int col, int height, int width);
void sixel_overwrite_by_row(struct terminal *term, int row, int col, int width);
-void sixel_overwrite_at_cursor(struct terminal *term);
+void sixel_overwrite_at_cursor(struct terminal *term, int width);
void sixel_colors_report_current(struct terminal *term);
void sixel_colors_reset(struct terminal *term);