annotate src/thumb.h @ 1811:f405ec9b696b default tip

Some small logic mistakes Use boolean operators for booleans and bitwise otherwise only.
author mow
date Mon, 10 May 2010 11:33:13 +0000
parents 956aab097ea7
children
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: 9
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
1802
956aab097ea7 added 2010 to copyright text
nadvornik
parents: 1446
diff changeset
4 * Copyright (C) 2008 - 2010 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 THUMB_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define THUMB_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 ThumbLoader *thumb_loader_new(gint width, gint height);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 void thumb_loader_set_callbacks(ThumbLoader *tl,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20 ThumbLoaderFunc func_done,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21 ThumbLoaderFunc func_error,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 ThumbLoaderFunc func_progress,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 gpointer data);
1446
a6f9ba6fd751 gint -> gboolean.
zas_
parents: 1284
diff changeset
24 void thumb_loader_set_cache(ThumbLoader *tl, gboolean enable_cache, gboolean local, gboolean retry_failed);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25
1446
a6f9ba6fd751 gint -> gboolean.
zas_
parents: 1284
diff changeset
26 gboolean thumb_loader_start(ThumbLoader *tl, FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 void thumb_loader_free(ThumbLoader *tl);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28
864
f40509d56fe3 added pixbuf_fallback function
nadvornik
parents: 838
diff changeset
29 GdkPixbuf *thumb_loader_get_pixbuf(ThumbLoader *tl);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30
877
21e324dcd78c refresh thumbnails on file change
nadvornik
parents: 864
diff changeset
31 void thumb_notify_cb(FileData *fd, NotifyType type, gpointer data);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 877
diff changeset
34 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */