Debian Codegraph @

plugins/actor/oinksie/gfx-palette.h

raw
1 /* Libvisual-plugins - Standard plugins for libvisual
2 *
3 * Copyright (C) 2002, 2003, 2004, 2005, 2006 Dennis Smit <[email protected]>
4 *
5 * Authors: Dennis Smit <[email protected]>
6 *
7 * $Id: gfx-palette.h,v 1.4 2006/01/22 13:25:26 synap Exp $
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */
23
24 #ifndef _OINK_GFX_PALETTE_H
25 #define _OINK_GFX_PALETTE_H
26
27 #include "oinksie.h"
28
29 void _oink_gfx_palette_init (OinksiePrivate *priv);
30 void _oink_gfx_palette_save_old (OinksiePrivate *priv);
31 void _oink_gfx_palette_transform (OinksiePrivate *priv);
32 void _oink_gfx_palette_build (OinksiePrivate *priv, uint8_t funky);
33 void _oink_gfx_palette_color (OinksiePrivate *priv, int color, int red, int green, int blue);
34 uint8_t _oink_gfx_palette_gradient_gen (OinksiePrivate *priv, uint8_t i, int mode);
35 void _oink_gfx_palette_build_gradient (OinksiePrivate *priv, uint8_t funky);
36
37 #endif /* _OINK_GFX_PALETTE_H */