aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/stylesheet.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-02-24 17:56:21 +0100
committerThomas White <taw@bitwiz.me.uk>2019-02-24 17:56:21 +0100
commit7f09291dcbde21fb182a32482c3985470eda41d7 (patch)
tree5ed6e26c55e67a783c20e79f3a4ac00ddd59df06 /libstorycode/stylesheet.c
parent0cf09c110c9919efcbc3ff3b59cb83622b4ce1b2 (diff)
Stylesheet parser stuff
Diffstat (limited to 'libstorycode/stylesheet.c')
-rw-r--r--libstorycode/stylesheet.c155
1 files changed, 154 insertions, 1 deletions
diff --git a/libstorycode/stylesheet.c b/libstorycode/stylesheet.c
index 2d715a2..2c77b5d 100644
--- a/libstorycode/stylesheet.c
+++ b/libstorycode/stylesheet.c
@@ -115,7 +115,7 @@ void stylesheet_free(Stylesheet *s)
}
-int stylesheet_set_default_slide_size(Stylesheet *s, double w, double h)
+int stylesheet_set_slide_default_size(Stylesheet *s, double w, double h)
{
if ( s == NULL ) return 1;
s->default_slide_w = w;
@@ -140,3 +140,156 @@ const char *stylesheet_get_slide_text_font(Stylesheet *s)
if ( s == NULL ) return NULL;
return s->slide_text.font;
}
+
+
+int stylesheet_set_slide_text_pad(Stylesheet *s, double padding[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_text_paraspace(Stylesheet *s, double paraspace[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_text_fgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_text_bgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_text_align(Stylesheet *s, enum alignment align)
+{
+ return 0;
+}
+
+
+
+int stylesheet_set_slide_prestitle_geom(Stylesheet *s, struct frame_geom geom)
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_prestitle_font(Stylesheet *s, char *font)
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_prestitle_pad(Stylesheet *s, double padding[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_prestitle_paraspace(Stylesheet *s, double paraspace[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_prestitle_fgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_prestitle_bgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_prestitle_align(Stylesheet *s, enum alignment align)
+{
+ return 0;
+}
+
+
+
+int stylesheet_set_slide_slidetitle_geom(Stylesheet *s, struct frame_geom geom)
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_slidetitle_font(Stylesheet *s, char *font)
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_slidetitle_pad(Stylesheet *s, double padding[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_slidetitle_paraspace(Stylesheet *s, double paraspace[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_slidetitle_fgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_slidetitle_bgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_slide_slidetitle_align(Stylesheet *s, enum alignment align)
+{
+ return 0;
+}
+
+
+
+int stylesheet_set_narrative_font(Stylesheet *s, char *font)
+{
+ return 0;
+}
+
+
+int stylesheet_set_narrative_pad(Stylesheet *s, double padding[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_narrative_paraspace(Stylesheet *s, double paraspace[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_narrative_fgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_narrative_bgcol(Stylesheet *s, double rgba[4])
+{
+ return 0;
+}
+
+
+int stylesheet_set_narrative_align(Stylesheet *s, enum alignment align)
+{
+ return 0;
+}