summaryrefslogtreecommitdiff
path: root/src/ui/preview-widget.h
diff options
context:
space:
mode:
authorThomas Wood <thos@gnome.org>2008-02-25 15:39:49 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-02-25 15:39:49 +0000
commitabdb3fd8b9320376dffc387eeb99ef09389a6152 (patch)
tree01272c11ea4d36506961c65aa5a0215968fe1b55 /src/ui/preview-widget.h
parentb3f766c6187ea3fb9dac139b50762abee79988fc (diff)
downloadmetacity-abdb3fd8b9320376dffc387eeb99ef09389a6152.tar.gz
metacity-abdb3fd8b9320376dffc387eeb99ef09389a6152.tar.bz2
allow users of the preview widget to get a mask for windows in the correct
2008-02-25 Thomas Wood <thos@gnome.org> * src/ui/preview-widget.[ch] (meta_preview_get_clip_region): allow users of the preview widget to get a mask for windows in the correct shape for the current theme. svn path=/trunk/; revision=3596
Diffstat (limited to 'src/ui/preview-widget.h')
-rw-r--r--src/ui/preview-widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/preview-widget.h b/src/ui/preview-widget.h
index bfa964b..32b3c48 100644
--- a/src/ui/preview-widget.h
+++ b/src/ui/preview-widget.h
@@ -77,6 +77,9 @@ void meta_preview_set_frame_flags (MetaPreview *preview,
void meta_preview_set_button_layout (MetaPreview *preview,
const MetaButtonLayout *button_layout);
+GdkRegion * meta_preview_get_clip_region (MetaPreview *preview,
+ gint new_window_width,
+ gint new_window_height);
GdkPixbuf* meta_preview_get_icon (void);
GdkPixbuf* meta_preview_get_mini_icon (void);