diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-09-15 18:10:00 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-09-15 18:10:00 +0200 |
commit | b687096cd64902c4530fef9c9cae8a0494013137 (patch) | |
tree | 5f3172401f4df30fc156eebe74b28ac164a7dc4a /src/slideshow.c | |
parent | 7f82ae3627592facfcdb84b187e03cafa654ac13 (diff) |
Add the Presentation Clock
Diffstat (limited to 'src/slideshow.c')
-rw-r--r-- | src/slideshow.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slideshow.c b/src/slideshow.c index 6594be8..4847077 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -34,6 +34,7 @@ #include "presentation.h" #include "mainwindow.h" #include "render.h" +#include "pr_clock.h" /* Force a redraw of the slideshow */ @@ -103,6 +104,8 @@ void change_proj_slide(struct presentation *p, struct slide *np) p->cur_proj_slide = np; + notify_clock_slide_changed(p, np); + /* The slide is already rendered, because the editor always gets there * first, so we only need to do this: */ redraw_slideshow(p); @@ -266,4 +269,6 @@ void try_start_slideshow(struct presentation *p) //if ( p->prefs->open_notes ) open_notes(p); FIXME! p->cur_proj_slide = p->cur_edit_slide; + + notify_clock_slide_changed(p, p->cur_proj_slide); } |