X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fgradient.h;h=8613f0cea563f7a3d35e4f99b2e9b959156a0239;hb=e84fb1b052584b83947715d8ae4ec5d8afd201e7;hp=9487ce7f7e5f57211a59013e1640b35040299e02;hpb=3f32dfa87e08556d7f6a58efab9b7479e515be26;p=chaz%2Fopenbox diff --git a/render/gradient.h b/render/gradient.h index 9487ce7f..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(pixel32 *x, pixel32 *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 */