annotate src/slideshow.h @ 155:d06bccc7551e

show active marks in image overlay
author nadvornik
date Fri, 14 Dec 2007 21:51:46 +0000
parents 71e1ebee420e
children f6e307c7bad6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
2 * GQview
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
4 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #ifndef SLIDESHOW_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define SLIDESHOW_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17 #define SLIDESHOW_SUBSECOND_PRECISION 10
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 #define SLIDESHOW_MIN_SECONDS 0.1
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 #define SLIDESHOW_MAX_SECONDS 3600.0
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21 /*
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 * It works like this, it uses path_list, if that does not exist, it uses
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 * CollectionData, then finally falls back to the layout listing.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 void slideshow_free(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 gint slideshow_should_continue(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 void slideshow_next(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 void slideshow_prev(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
33 SlideShowData *slideshow_start_from_filelist(ImageWindow *imd, GList *list,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 SlideShowData *slideshow_start_from_collection(ImageWindow *imd, CollectionData *cd,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 CollectInfo *start_info);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 SlideShowData *slideshow_start(ImageWindow *imd, LayoutWindow *lw, gint start_point,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 gint slideshow_paused(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 void slideshow_pause_set(SlideShowData *ss, gint paused);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43 gint slideshow_pause_toggle(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47