summaryrefslogtreecommitdiff
path: root/shared-module/vectorio/VectorShape.h
diff options
context:
space:
mode:
authorwarriorofwire <3454741+WarriorOfWire@users.noreply.github.com>2020-05-10 15:36:23 -0700
committerwarriorofwire <3454741+WarriorOfWire@users.noreply.github.com>2020-05-10 15:36:23 -0700
commit58c8e00745064bd290fc9ec18a838960b27c1eea (patch)
treec48c977580d74366d9fe8db24e726d3a62eec949 /shared-module/vectorio/VectorShape.h
parent6660311a96f063e935e85a228f8b12e3a07ca95c (diff)
vectorio: clean up after group removal
VectorShape tells the Group to redraw whatever it left behind when it is removed now.
Diffstat (limited to 'shared-module/vectorio/VectorShape.h')
-rw-r--r--shared-module/vectorio/VectorShape.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-module/vectorio/VectorShape.h b/shared-module/vectorio/VectorShape.h
index 8fc698dbc..56eb3d8a5 100644
--- a/shared-module/vectorio/VectorShape.h
+++ b/shared-module/vectorio/VectorShape.h
@@ -38,7 +38,9 @@ typedef struct {
displayio_area_t ephemeral_dirty_area;
} vectorio_vector_shape_t;
-displayio_area_t* vectorio_vector_shape_get_refresh_areas(vectorio_vector_shape_t *self, displayio_area_t* tail);
+displayio_area_t* vectorio_vector_shape_get_refresh_areas(vectorio_vector_shape_t *self, displayio_area_t *tail);
+
+bool vectorio_vector_shape_get_dirty_area(vectorio_vector_shape_t *self, displayio_area_t *current_dirty_area);
// Area is always in absolute screen coordinates.
bool vectorio_vector_shape_fill_area(vectorio_vector_shape_t *self, const _displayio_colorspace_t *colorspace, const displayio_area_t *area, uint32_t *mask, uint32_t *buffer);