Remove unneeded files
[wmaker-crm.git] / plugins / libwmfun / generic.h
blobbecdd0c029cd151d960f8a63a19ca4a37c4cf82e
1 /*
2 * libwmfun - WindowMaker texture function library
3 * Copyright (C) 1999 Tobias Gloth
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
18 * USA.
22 * $Id$
24 * $Log$
25 * Revision 1.4 2001/01/07 02:59:11 id
26 * remove stuffs
28 * Revision 1.3 2000/12/11 03:10:26 id
29 * changes related to plugin system & drawstring
31 * Revision 1.2 2000/12/03 22:18:20 id
32 * initiate
34 * Revision 1.1 2000/12/03 18:58:41 id
35 * initiate plugins branch
37 * Revision 1.1.1.1 1999/02/21 17:16:47 gloth
38 * initial revision
42 #ifndef _GENERIC_H
43 #define _GENERIC_H
45 #include <X11/Xlib.h>
47 #include <wraster.h>
49 typedef struct _WPluginData {
50 int size;
51 void **array;
52 } WPluginData;
54 extern void initWindowMaker (Display *d, Colormap c);
55 extern int start_image (const char *name, int argc, int argc_min, int argc_max,
56 int width, int height, RImage **image);
57 extern void error (const char *format, ...);
59 extern int parse_color (const char *string, int *result);
60 extern void interpolate_color (int *t, const int *s0, const int *s1, int mix);
62 extern int random_int (int range);
63 extern double random_double (double range);
66 #endif