summaryrefslogtreecommitdiff
path: root/src/theme.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-02-15 02:32:48 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-02-15 02:32:48 +0000
commita7378b709bce9f450e176223b43b509b74b9c95b (patch)
treeb116e32d1e177d8f4a94994c94554c90c28bbb4f /src/theme.h
parent813e6f459fad0461b3c64a6286c1da0e1aa92b70 (diff)
downloadmetacity-a7378b709bce9f450e176223b43b509b74b9c95b.tar.gz
metacity-a7378b709bce9f450e176223b43b509b74b9c95b.tar.bz2
use the preview widget here
2002-02-14 Havoc Pennington <hp@pobox.com> * src/theme-viewer.c: use the preview widget here * src/preview-widget.h, src/preview-widget.c: make the theme preview into a nice widget * src/frames.c (meta_frames_ensure_layout): replace frame layout if the frame style changes, this only ends up mattering if you e.g. changed the font size for windows in a different state such as maximized, which is crack, but the code may as well be correct * src/theme.c (meta_theme_get_frame_style): new function so we can detect an invalid cache of the PangoLayout in a frame
Diffstat (limited to 'src/theme.h')
-rw-r--r--src/theme.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theme.h b/src/theme.h
index 17b2b4a..79f9ca4 100644
--- a/src/theme.h
+++ b/src/theme.h
@@ -649,6 +649,10 @@ GdkPixbuf* meta_theme_load_image (MetaTheme *theme,
const char *filename,
GError **error);
+MetaFrameStyle* meta_theme_get_frame_style (MetaTheme *theme,
+ MetaFrameType type,
+ MetaFrameFlags flags);
+
double meta_theme_get_title_scale (MetaTheme *theme,
MetaFrameType type,
MetaFrameFlags flags);