X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fgradient.h;h=8613f0cea563f7a3d35e4f99b2e9b959156a0239;hb=df07fdc90a31cebccb0ee6406d42a2584dd01528;hp=0c523816f16d5492099bd13fa22826c19ff662e9;hpb=092616de9a809a1c9a646901521ffcc1f337e913;p=chaz%2Fopenbox diff --git a/render/gradient.h b/render/gradient.h index 0c523816..8613f0ce 100644 --- a/render/gradient.h +++ b/render/gradient.h @@ -1,19 +1,27 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + gradient.h for the Openbox window manager + Copyright (c) 2003-2007 Dana Jansens + Copyright (c) 2003 Derek Foreman + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + See the COPYING file for a copy of the GNU General Public License. +*/ + #ifndef __gradient_h #define __gradient_h #include "render.h" -void gradient_render(RrSurface *sf, int w, int h); -void gradient_vertical(RrSurface *sf, int w, int h); -void gradient_horizontal(RrSurface *sf, int w, int h); -void gradient_diagonal(RrSurface *sf, int w, int h); -void gradient_crossdiagonal(RrSurface *sf, int w, int h); -void gradient_pyramid(RrSurface *sf, int w, int h); -void gradient_pipecross(RrSurface *sf, int w, int h); -void gradient_rectangle(RrSurface *sf, int w, int h); -void gradient_solid(RrAppearance *l, int x, int y, int w, int h); -void highlight(RrPixel32 *x, RrPixel32 *y, gboolean raised); - -void render_gl_gradient(RrSurface *sf, int x, int y, int w, int h); +void RrRender(RrAppearance *a, gint w, gint h); #endif /* __gradient_h */