2 * libwmfun - WindowMaker texture function library
3 * Copyright (C) 1999 Tobias Gloth
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,
25 * Revision 1.4 2001/01/07 02:59:11 id
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
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
49 typedef struct _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
);