Mercurial > geeqie
annotate src/ui_spinner.h @ 1701:2309e6150e8c
do not try to reload deleted image
deleted image is replaced by the next one from the list, keep
the old image displayed until the new one is set
author | nadvornik |
---|---|
date | Fri, 24 Jul 2009 12:56:54 +0000 |
parents | 89dedc61b1bd |
children | 956aab097ea7 |
rev | line source |
---|---|
9 | 1 /* |
2 * (SLIK) SimpLIstic sKin functions | |
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 UI_SPINNER_H | |
15 #define UI_SPINNER_H | |
16 | |
17 | |
18 #define SPINNER_SPEED 100 | |
19 | |
20 | |
21 extern const guint8 icon_spinner[]; | |
22 extern const guint8 icon_tabcomp[]; | |
23 | |
24 /* if path is NULL, the built in spinner is used, | |
25 * otherwise path must be the location of the first image of the | |
26 * spinner without the 00.png portion of the pathname, example: | |
27 * | |
28 * /path/to/spinnerimg_ | |
29 * | |
30 * the files required are then: | |
31 * | |
32 * /path/to/spinnerimg_00.png non-animated state | |
33 * /path/to/spinnerimg_01.png animation frame 1 | |
34 * /path/to/spinnerimg_02.png animation frame 2 | |
35 * [continues to last frame...] | |
36 */ | |
37 GtkWidget *spinner_new(const gchar *path, gint interval); | |
38 | |
39 void spinner_set_interval(GtkWidget *spinner, gint interval); | |
1448 | 40 void spinner_step(GtkWidget *spinner, gboolean reset); |
9 | 41 |
42 | |
43 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
475
diff
changeset
|
44 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |