diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-12-25 22:28:15 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-12-25 22:28:15 +0000 |
commit | 11d19279d94e8b3fa4a2ff82e3e49d3cd9a6422d (patch) | |
tree | 6d9b5469086eabbea7cdab5cdbcc6835b560e5a8 /src/presentation.c | |
parent | e0d4e95d1903a5e99b54e58d1a1ec53c50e1b3b8 (diff) |
Basic slide notes
Diffstat (limited to 'src/presentation.c')
-rw-r--r-- | src/presentation.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/presentation.c b/src/presentation.c index 4aedc71..6ae3943 100644 --- a/src/presentation.c +++ b/src/presentation.c @@ -125,6 +125,8 @@ struct slide *new_slide() new->rendered_proj = NULL; new->rendered_thumb = NULL; + new->notes = strdup(""); + return new; } @@ -325,11 +327,13 @@ struct presentation *new_presentation() /* FIXME: Should be just one of these */ new->prefs = calloc(1, sizeof(struct prefs)); new->prefs->b_splits = 1; + new->prefs->open_notes = 1; new->window = NULL; new->ui = NULL; new->action_group = NULL; new->slideshow = NULL; + new->notes = NULL; new->slide_width = 1024.0; new->slide_height = 768.0; |