aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/narrative_render_cairo.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2020-01-21 23:29:44 +0100
committerThomas White <taw@bitwiz.me.uk>2020-01-21 23:29:44 +0100
commitdb275d5f5503124d353393d78e899e2ecfdf03c3 (patch)
treef1a6cf53dde5b6ab1d0b0f7bb400557c1436dfb8 /libstorycode/narrative_render_cairo.h
parent161ff9ecc9be47e9016ef5e347d347f7a336765b (diff)
Add basic timing ruler
Diffstat (limited to 'libstorycode/narrative_render_cairo.h')
-rw-r--r--libstorycode/narrative_render_cairo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstorycode/narrative_render_cairo.h b/libstorycode/narrative_render_cairo.h
index 265b3d9..5c1880f 100644
--- a/libstorycode/narrative_render_cairo.h
+++ b/libstorycode/narrative_render_cairo.h
@@ -55,6 +55,8 @@ extern int narrative_render_cairo(Narrative *n, cairo_t *cr, Stylesheet *stylesh
extern void narrative_sort_positions(struct edit_pos *a, struct edit_pos *b);
+extern double narrative_get_item_y(Narrative *n, int item);
+
extern void narrative_get_item_range(Narrative *n, double min_y, double max_y,
int *start_item, int *end_item);