2
* The code in this file is originated from the following theme:
4
* Smooth theme by Andrew Johnson <ajgenius@ajgenius.us>
5
* IceGradient theme by Tim Gerla <timg@means.net>
1
/* $Id: gradient_draw.h 320 2004-08-25 17:57:54Z olivier $
3
* This program is free software; you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation; either version 2 of the License, or
6
* (at your option) any later version.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
* Copyright (C) 1999-2004 Olivier Fourdan (fourdan@xfce.org)
19
* Portions based Thinice port by
20
* Tim Gerla <timg@rrv.net>,
21
* Tomas �gren <stric@ing.umu.se,
22
* Richard Hult <rhult@codefactory.se>
23
* Portions based on Smooth theme by
24
* Andrew Johnson <ajgenius@ajgenius.us>
25
* Portions based on IceGradient theme by
26
* Tim Gerla <timg@means.net>
6
27
* Tomas Ögren <stric@ing.umu.se>
7
28
* JM Perez <jose.perez@upcnet.es>
8
* Wonderland theme by Garrett LeSage
29
* Portions based on Wonderland theme by
10
32
* Owen Taylor <otaylor@redhat.com>
33
* Portions based on Raleigh theme by
34
* Owen Taylor <otaylor@redhat.com>
35
* Portions based on Notif theme
36
* Portions based on Notif2 theme
37
* Portions based on original GTK theme
13
40
#ifndef INC_GRADIENT_DRAW_H
29
56
void gradient_shade(GdkColor * a, GdkColor * b, gdouble k);
31
void gradient_draw(GdkWindow * window, GdkGC * gc, GdkColormap * colormap, GdkRectangle * area, gint x, gint y, gint width, gint height, GdkColor light, GdkColor dark, GradientType gradient_type, gboolean noclip);
58
void gradient_draw(GdkWindow * window, GdkGC * gc, GdkColormap * colormap, GdkRectangle * area, gint x, gint y, gint width, gint height, GdkColor light, GdkColor dark, GradientType gradient_style, gboolean noclip);
33
void gradient_draw_shaded(GdkWindow * window, GdkGC * gc, GdkColormap * colormap, GdkRectangle * area, gint x, gint y, gint width, gint height, GdkColor color, gfloat shine_value, gfloat shade_value, GradientType gradient_type, gboolean noclip);
60
void gradient_draw_shaded(GdkWindow * window, GdkGC * gc, GdkColormap * colormap, GdkRectangle * area, gint x, gint y, gint width, gint height, GdkColor color, gfloat shine_value, gfloat shade_value, GradientType gradient_style, gboolean noclip);
35
62
#endif /* INC_GRADIENT_DRAW_H */