summaryrefslogtreecommitdiff
path: root/src/theme.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnu.org>2002-02-07 03:43:13 +0000
committerAnders Carlsson <andersca@src.gnome.org>2002-02-07 03:43:13 +0000
commitf33a46072b2bcfed59e26f42356175d0f3a62c9a (patch)
tree11818db2c0e9a10c58ea68cae9db0ae3df8a77e2 /src/theme.h
parent7279f2a9cd7c33f911ef107e8a21575e97ab4779 (diff)
downloadmetacity-f33a46072b2bcfed59e26f42356175d0f3a62c9a.tar.gz
metacity-f33a46072b2bcfed59e26f42356175d0f3a62c9a.tar.bz2
Add support for "colorize" image attribute.
2002-02-07 Anders Carlsson <andersca@gnu.org> * src/theme-parser.c: (parse_draw_op_element): Add support for "colorize" image attribute. * src/theme.c: (colorize_pixbuf): New function that colorizes a pixbuf. (pos_tokenize): Allow "\n" as a whitespace character. (meta_draw_op_free): Free colorize_spec; (draw_op_as_pixbuf): Colorize image if needed. * src/theme.h: Add colorize_spec to struct.
Diffstat (limited to 'src/theme.h')
-rw-r--r--src/theme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theme.h b/src/theme.h
index ebb48a8..db59cc8 100644
--- a/src/theme.h
+++ b/src/theme.h
@@ -253,6 +253,7 @@ struct _MetaDrawOp
} gradient;
struct {
+ MetaColorSpec *colorize_spec;
GdkPixbuf *pixbuf;
double alpha;
char *x;