http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/md5/fa43fdd68d...
[xscreensaver] / utils / resources.h
1 /* xscreensaver, Copyright (c) 1992, 1997, 2001, 2003
2  *  Jamie Zawinski <jwz@jwz.org>
3  *
4  * Permission to use, copy, modify, distribute, and sell this software and its
5  * documentation for any purpose is hereby granted without fee, provided that
6  * the above copyright notice appear in all copies and that both that
7  * copyright notice and this permission notice appear in supporting
8  * documentation.  No representations are made about the suitability of this
9  * software for any purpose.  It is provided "as is" without express or 
10  * implied warranty.
11  */
12
13 #ifndef __XSCREENSAVER_RESOURCES_H__
14 #define __XSCREENSAVER_RESOURCES_H__
15
16 extern char *get_string_resource (char*,char*);
17 extern Bool get_boolean_resource (char*,char*);
18 extern int get_integer_resource (char*,char*);
19 extern double get_float_resource (char*,char*);
20 extern unsigned int get_pixel_resource (char*,char*,Display*,Colormap);
21 extern unsigned int get_minutes_resource (char*,char*);
22 extern unsigned int get_seconds_resource (char*,char*);
23 extern int parse_time (const char *string, Bool seconds_default_p,
24                        Bool silent_p);
25 extern Pixmap
26 xscreensaver_logo (Screen *screen, Visual *visual,
27                    Drawable drawable, Colormap cmap,
28                    unsigned long background_color,
29                    unsigned long **pixels_ret, int *npixels_ret,
30                    Pixmap *mask_ret,
31                    Bool big_p);
32
33 #endif /* __XSCREENSAVER_RESOURCES_H__ */