~ubuntu-branches/ubuntu/precise/gtk2-engines-xfce/precise

« back to all changes in this revision

Viewing changes to src/gradient_draw.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2006-11-16 13:30:49 UTC
  • mfrom: (1.2.1 upstream) (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061116133049-tps8a3tb4yne9g4z
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * The code in this file is originated from the following theme:
3
 
 *
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 $
 
2
 *
 
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.
 
7
 *
 
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.
 
12
 *
 
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.
 
16
 *
 
17
 *  Copyright (C) 1999-2004 Olivier Fourdan (fourdan@xfce.org)
 
18
 *
 
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   
 
30
 *                       Garrett LeSage
9
31
 *                       Alexander Larsson
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
11
38
 */
12
39
 
13
40
#ifndef INC_GRADIENT_DRAW_H
28
55
 
29
56
void gradient_shade(GdkColor * a, GdkColor * b, gdouble k);
30
57
 
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);
32
59
 
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);
34
61
 
35
62
#endif /* INC_GRADIENT_DRAW_H */