summaryrefslogtreecommitdiff
path: root/gfx/record.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/record.h')
-rw-r--r--gfx/record.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/record.h b/gfx/record.h
index b492ed7..1fefc68 100644
--- a/gfx/record.h
+++ b/gfx/record.h
@@ -30,6 +30,7 @@ struct record_layer {
struct record {
const struct gfx_ops *ops;
void *user;
+ enum gfx_extra extra;
int xmin, xmax;
int ymin, ymax;
struct record_layer *layers;
@@ -51,6 +52,8 @@ void record_text(void *ctx, int x, int y, const char *s, unsigned size,
enum text_align align, int rot, enum text_style style,
unsigned color, unsigned layer);
+void record_set_extra(void *ctx, enum gfx_extra extra);
+
void record_init(struct record *rec, const struct gfx_ops *ops, void *user);
void record_wipe(struct record *rec);
void record_replay(const struct record *rec);