annotate src/slideshow.h @ 1625:d00761ba18bd

Ongoing translation Now the most is translated to German language. Just the photographic notions are missing.
author mow
date Thu, 04 Jun 2009 16:07:41 +0000
parents a6f9ba6fd751
children 1a134b4dc88c
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 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 138
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1055
diff changeset
4 * Copyright (C) 2008 - 2009 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * 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
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef SLIDESHOW_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define SLIDESHOW_H
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 #define SLIDESHOW_SUBSECOND_PRECISION 10
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 #define SLIDESHOW_MIN_SECONDS 0.1
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20 #define SLIDESHOW_MAX_SECONDS 3600.0
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 /*
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 * 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
24 * CollectionData, then finally falls back to the layout listing.
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 void slideshow_free(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28
1446
a6f9ba6fd751 gint -> gboolean.
zas_
parents: 1433
diff changeset
29 gboolean slideshow_should_continue(SlideShowData *ss);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 void slideshow_next(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 void slideshow_prev(SlideShowData *ss);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 9
diff changeset
34 SlideShowData *slideshow_start_from_filelist(ImageWindow *imd, GList *list,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 SlideShowData *slideshow_start_from_collection(ImageWindow *imd, CollectionData *cd,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 CollectInfo *start_info);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 SlideShowData *slideshow_start(ImageWindow *imd, LayoutWindow *lw, gint start_point,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41
1433
b4ad1d201279 Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents: 1284
diff changeset
42 gboolean slideshow_paused(SlideShowData *ss);
b4ad1d201279 Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents: 1284
diff changeset
43 void slideshow_pause_set(SlideShowData *ss, gboolean paused);
b4ad1d201279 Use gboolean where applicable, minor cleanup and indentations fixes.
zas_
parents: 1284
diff changeset
44 gboolean slideshow_pause_toggle(SlideShowData *ss);
9
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 475
diff changeset
48 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */