diff options
author | Thomas White <taw@bitwiz.org.uk> | 2018-01-05 10:28:56 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2018-01-05 10:28:56 +0100 |
commit | d11a7e62862a448fb7451c0345a11cac463ae780 (patch) | |
tree | 3c99f653d234e2857877eef84032ea2559f96ba7 /src/sc_editor.c | |
parent | 02828602d6f2f1ec2a7e718dea8d4bedc9dc300d (diff) |
GUI slide title adding
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 9 |
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; |