Mercurial > geeqie
annotate src/slideshow.h @ 1801:93bb96b21be9
updated version string
author | nadvornik |
---|---|
date | Tue, 16 Feb 2010 21:10:12 +0000 |
parents | 1a134b4dc88c |
children | 956aab097ea7 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1284 | 4 * Copyright (C) 2008 - 2009 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
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! | |
11 */ | |
12 | |
13 | |
14 #ifndef SLIDESHOW_H | |
15 #define SLIDESHOW_H | |
16 | |
17 | |
18 #define SLIDESHOW_SUBSECOND_PRECISION 10 | |
19 #define SLIDESHOW_MIN_SECONDS 0.1 | |
20 #define SLIDESHOW_MAX_SECONDS 3600.0 | |
21 | |
22 /* | |
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. | |
25 */ | |
26 | |
27 void slideshow_free(SlideShowData *ss); | |
28 | |
1446 | 29 gboolean slideshow_should_continue(SlideShowData *ss); |
9 | 30 |
31 void slideshow_next(SlideShowData *ss); | |
32 void slideshow_prev(SlideShowData *ss); | |
33 | |
1627
1a134b4dc88c
use layout_set_fd() for changing images from a slideshow
nadvornik
parents:
1446
diff
changeset
|
34 SlideShowData *slideshow_start_from_filelist(LayoutWindow *target_lw, ImageWindow *imd, GList *list, |
9 | 35 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data); |
1627
1a134b4dc88c
use layout_set_fd() for changing images from a slideshow
nadvornik
parents:
1446
diff
changeset
|
36 SlideShowData *slideshow_start_from_collection(LayoutWindow *target_lw, ImageWindow *imd, CollectionData *cd, |
9 | 37 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data, |
38 CollectInfo *start_info); | |
1627
1a134b4dc88c
use layout_set_fd() for changing images from a slideshow
nadvornik
parents:
1446
diff
changeset
|
39 SlideShowData *slideshow_start(LayoutWindow *lw, gint start_point, |
9 | 40 void (*stop_func)(SlideShowData *, gpointer), gpointer stop_data); |
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 | 45 |
46 | |
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: */ |