From b687096cd64902c4530fef9c9cae8a0494013137 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 15 Sep 2013 18:10:00 +0200 Subject: Add the Presentation Clock --- src/slideshow.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/slideshow.c') 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); } -- cgit v1.2.3