Effectively drop empty newlines at end of files (missing from rev 535)
[geeqie.git] / src / ui_spinner.h
1 /*
2  * (SLIK) SimpLIstic sKin functions
3  * (C) 2004 John Ellis
4  *
5  * Author: John Ellis
6  *
7  * This software is released under the GNU General Public License (GNU GPL).
8  * Please read the included file COPYING for more information.
9  * This software comes with no warranty of any kind, use at your own risk!
10  */
11
12
13 #ifndef UI_SPINNER_H
14 #define UI_SPINNER_H
15
16
17 #define SPINNER_SPEED 100
18
19
20 extern const guint8 icon_spinner[];
21 extern const guint8 icon_tabcomp[];
22
23 /* if path is NULL, the built in spinner is used,
24  * otherwise path must be the location of the first image of the
25  * spinner without the 00.png portion of the pathname, example:
26  *
27  *     /path/to/spinnerimg_
28  *
29  * the files required are then:
30  *
31  *     /path/to/spinnerimg_00.png   non-animated state
32  *     /path/to/spinnerimg_01.png   animation frame 1
33  *     /path/to/spinnerimg_02.png   animation frame 2
34  *     [continues to last frame...]
35  */
36 GtkWidget *spinner_new(const gchar *path, gint interval);
37
38 void spinner_set_interval(GtkWidget *spinner, gint interval);
39 void spinner_step(GtkWidget *spinner, gint reset);
40
41
42 #endif