4 * Copyright (C) 2008 - 2012 The Geeqie Team
8 * This software is released under the GNU General Public License (GNU GPL).
9 * Please read the included file COPYING for more information.
10 * This software comes with no warranty of any kind, use at your own risk!
18 #define SLIDESHOW_SUBSECOND_PRECISION 10
19 #define SLIDESHOW_MIN_SECONDS 0.1
20 #define SLIDESHOW_MAX_SECONDS 3600.0
23 * It works like this, it uses path_list, if that does not exist, it uses
24 * CollectionData, then finally falls back to the layout listing.
27 void slideshow_free(SlideShowData *ss);
29 gboolean slideshow_should_continue(SlideShowData *ss);
31 void slideshow_next(SlideShowData *ss);
32 void slideshow_prev(SlideShowData *ss);
34 SlideShowData *slideshow_start_from_filelist(LayoutWindow *target_lw, ImageWindow *imd, GList *list,
35 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data);
36 SlideShowData *slideshow_start_from_collection(LayoutWindow *target_lw, ImageWindow *imd, CollectionData *cd,
37 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data,
38 CollectInfo *start_info);
39 SlideShowData *slideshow_start(LayoutWindow *lw, gint start_point,
40 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data);
42 gboolean slideshow_paused(SlideShowData *ss);
43 void slideshow_pause_set(SlideShowData *ss, gboolean paused);
44 gboolean slideshow_pause_toggle(SlideShowData *ss);
48 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */