summaryrefslogtreecommitdiff
path: root/src/theme.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-02-10 01:10:33 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-02-10 01:10:33 +0000
commit2bad2844f55fe5a241bdb4da7747905798da9a6d (patch)
tree318549e0556708036c97151dc0e7929c1559308d /src/theme.h
parent245c9c2d7e27445744eee764ecae6e3914fabd1e (diff)
downloadmetacity-2bad2844f55fe5a241bdb4da7747905798da9a6d.tar.gz
metacity-2bad2844f55fe5a241bdb4da7747905798da9a6d.tar.bz2
implement wacky "tile" draw op to lose some of the PNG files in Gorilla
2002-02-09 Havoc Pennington <hp@pobox.com> * src/theme.c (meta_draw_op_draw_with_env): implement wacky "tile" draw op to lose some of the PNG files in Gorilla theme * src/theme-parser.c: parse the tile primitive
Diffstat (limited to 'src/theme.h')
-rw-r--r--src/theme.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/theme.h b/src/theme.h
index 5ba1790..17b2b4a 100644
--- a/src/theme.h
+++ b/src/theme.h
@@ -192,7 +192,9 @@ typedef enum
/* App's window title */
META_DRAW_TITLE,
/* a draw op list */
- META_DRAW_OP_LIST
+ META_DRAW_OP_LIST,
+ /* tiled draw op list */
+ META_DRAW_TILE
} MetaDrawType;
struct _MetaDrawOp
@@ -318,6 +320,18 @@ struct _MetaDrawOp
char *width;
char *height;
} op_list;
+
+ struct {
+ MetaDrawOpList *op_list;
+ char *x;
+ char *y;
+ char *width;
+ char *height;
+ char *tile_xoffset;
+ char *tile_yoffset;
+ char *tile_width;
+ char *tile_height;
+ } tile;
} data;
};