summaryrefslogtreecommitdiff
path: root/gfx/record.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/record.h')
-rw-r--r--gfx/record.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gfx/record.h b/gfx/record.h
index cb36d97..a8dbec4 100644
--- a/gfx/record.h
+++ b/gfx/record.h
@@ -27,12 +27,16 @@ struct record_layer {
struct record_layer *next;
};
+struct record_bbox {
+ int xmin, xmax;
+ int ymin, ymax;
+};
+
struct record {
const struct gfx_ops *ops;
void *user;
enum gfx_extra extra;
- int xmin, xmax;
- int ymin, ymax;
+ struct record_bbox bbox;
struct record_layer *layers;
};