aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/stylesheet.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2020-01-13 00:06:05 +0100
committerThomas White <taw@bitwiz.me.uk>2020-01-13 00:17:50 +0100
commit1f2629403b9d62ecf44420f789b5c679a8ae1c98 (patch)
tree42f9c50056c089f9d70554dcdae626ffd8f552f1 /libstorycode/stylesheet.c
parent7304e278ced9adee5884482bbf3223f8ba1ccfde (diff)
Add segment start/end markers
Diffstat (limited to 'libstorycode/stylesheet.c')
-rw-r--r--libstorycode/stylesheet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstorycode/stylesheet.c b/libstorycode/stylesheet.c
index 66e444c..8fd09d4 100644
--- a/libstorycode/stylesheet.c
+++ b/libstorycode/stylesheet.c
@@ -225,6 +225,7 @@ Stylesheet *stylesheet_new()
create_style(ss, "", "NARRATIVE");
create_style(ss, "NARRATIVE", "BP");
create_style(ss, "NARRATIVE", "PRESTITLE");
+ create_style(ss, "NARRATIVE", "SEGSTART");
sty = create_style(ss, "", "SLIDE");
sty->geom.w.unit = LENGTH_UNIT;
sty->geom.w.len = 1024.0;
@@ -565,6 +566,7 @@ const char *stylesheet_get_friendly_name(const char *in)
if ( strcmp(in, "BP") == 0 ) return "Bullet point";
if ( strcmp(in, "SLIDETITLE") == 0 ) return "Slide title";
if ( strcmp(in, "PRESTITLE") == 0 ) return "Presentation title";
+ if ( strcmp(in, "SEGSTART") == 0 ) return "Start of segment";
if ( strcmp(in, "TEXT") == 0 ) return "Text frame";
if ( strcmp(in, "FOOTER") == 0 ) return "Footer";
return in;