aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2018-01-05 10:28:56 +0100
committerThomas White <taw@bitwiz.org.uk>2018-01-05 10:28:56 +0100
commitd11a7e62862a448fb7451c0345a11cac463ae780 (patch)
tree3c99f653d234e2857877eef84032ea2559f96ba7 /src/sc_editor.c
parent02828602d6f2f1ec2a7e718dea8d4bedc9dc300d (diff)
GUI slide title adding
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index fa86706..f486598 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -453,6 +453,15 @@ void sc_editor_paste(SCEditor *e)
}
+void sc_editor_add_storycode(SCEditor *e, const char *sc)
+{
+ SCBlock *nf;
+ nf = sc_parse(sc);
+ sc_block_append_block(e->scblocks, nf);
+ full_rerender(e);
+}
+
+
void sc_editor_copy_selected_frame(SCEditor *e)
{
char *t;