summaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-14 23:37:16 +0000
committerPhil Jones <philj56@gmail.com>2021-11-14 23:37:16 +0000
commitd65bdf025f9685f3b332aefffe6f8b5c8dbe8827 (patch)
tree083d90d95e6c103b5c6967fe3ff496ad79a46992 /src/image.h
parent929bca3f70c6406e7edbaf42804d8e1d1d9958e2 (diff)
Initial experiments with layer shell.
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index d5bd346..21b9100 100644
--- a/src/image.h
+++ b/src/image.h
@@ -10,6 +10,12 @@ struct image {
uint32_t height;
bool swizzle;
bool redraw;
+ struct {
+ uint32_t x;
+ uint32_t y;
+ uint32_t width;
+ uint32_t height;
+ } damage;
};
void image_load(struct image *image, const char *filename);