Mercurial > geeqie.yaz
diff src/ui_spinner.h @ 9:d907d608745f
Sync to GQview 1.5.9 release.
########
DO NOT BASE ENHANCEMENTS OR TRANSLATION UPDATES ON CODE IN THIS CVS!
This CVS is never up to date with current development and is provided
solely for reference purposes, please use the latest official release
package when making any changes or translation updates.
########
author | gqview |
---|---|
date | Sat, 26 Feb 2005 00:13:35 +0000 |
parents | |
children | ddabc4873a3f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ui_spinner.h Sat Feb 26 00:13:35 2005 +0000 @@ -0,0 +1,43 @@ +/* + * (SLIK) SimpLIstic sKin functions + * (C) 2004 John Ellis + * + * Author: John Ellis + * + * This software is released under the GNU General Public License (GNU GPL). + * Please read the included file COPYING for more information. + * This software comes with no warranty of any kind, use at your own risk! + */ + + +#ifndef UI_SPINNER_H +#define UI_SPINNER_H + + +#define SPINNER_SPEED 100 + + +extern const guint8 icon_spinner[]; +extern const guint8 icon_tabcomp[]; + +/* if path is NULL, the built in spinner is used, + * otherwise path must be the location of the first image of the + * spinner without the 00.png portion of the pathname, example: + * + * /path/to/spinnerimg_ + * + * the files required are then: + * + * /path/to/spinnerimg_00.png non-animated state + * /path/to/spinnerimg_01.png animation frame 1 + * /path/to/spinnerimg_02.png animation frame 2 + * [continues to last frame...] + */ +GtkWidget *spinner_new(const gchar *path, gint interval); + +void spinner_set_interval(GtkWidget *spinner, gint interval); +void spinner_step(GtkWidget *spinner, gint reset); + + +#endif +