change to use spiffy gradient code.

2002-01-06  Havoc Pennington  <hp@pobox.com>

	* src/theme.c (meta_theme_get_gradient): change to use spiffy
	gradient code.

	* src/gradient.c: copy lovely gradient code from WindowMaker,
	as usual Dan and Alfredo have very nice code
This commit is contained in:
Havoc Pennington
2002-01-06 17:52:21 +00:00
committed by Havoc Pennington
parent d9934a2d8c
commit ac85e1e225
8 changed files with 1248 additions and 53 deletions

View File

@@ -23,16 +23,12 @@
#define META_THEME_H
#include "frames.h"
#include "gradient.h"
/* theme.[hc] is basically responsible for drawing parts of the UI using
* theme data
*/
typedef enum
{
META_GRADIENT_VERTICAL,
META_GRADIENT_HORIZONTAL
} MetaGradientType;
GdkPixbuf* meta_theme_get_gradient (MetaGradientType type,
const GdkColor *color_one,