aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide_priv.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-03-21 23:21:41 +0100
committerThomas White <taw@bitwiz.me.uk>2019-03-21 23:21:41 +0100
commit891e3c9bff47bde012672aa699280400124d2447 (patch)
treef4b0cc1b5c996a181a4732646cefead6c1c765d0 /libstorycode/slide_priv.h
parent2d34695fd69d5c31f58cab56d135d487a6389267 (diff)
Expose SlideItem as an opaque type
Diffstat (limited to 'libstorycode/slide_priv.h')
-rw-r--r--libstorycode/slide_priv.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/libstorycode/slide_priv.h b/libstorycode/slide_priv.h
index 878982a..0d80663 100644
--- a/libstorycode/slide_priv.h
+++ b/libstorycode/slide_priv.h
@@ -39,7 +39,7 @@ enum slide_item_type
};
-struct slide_item
+struct _slideitem
{
enum slide_item_type type;
@@ -65,15 +65,7 @@ struct _slide
double logical_w;
double logical_h;
int n_items;
- struct slide_item *items;
+ SlideItem *items;
};
-extern void slide_item_get_geom(struct slide_item *item, Stylesheet *ss,
- double *x, double *y, double *w, double *h,
- double slide_w, double slide_h);
-
-extern void slide_item_get_padding(struct slide_item *item, Stylesheet *ss,
- double *l, double *r, double *t, double *b,
- double slide_w, double slide_h);
-
#endif /* SLIDE_PRIV_H */