summaryrefslogtreecommitdiff
path: root/src/theme.h
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-06 04:47:37 +0000
committerrhp <rhp>2001-06-06 04:47:37 +0000
commit0f5fdeb1b15a84a790d14beb4488eb974c7e0cd0 (patch)
treec13a9394594ff3ec6b2115fe0d4efc43a944d508 /src/theme.h
parentad6efc61b5d8c4572eac2ad586bca4e7b54d9c7c (diff)
downloadmetacity-0f5fdeb1b15a84a790d14beb4488eb974c7e0cd0.tar.gz
metacity-0f5fdeb1b15a84a790d14beb4488eb974c7e0cd0.tar.bz2
...
Diffstat (limited to 'src/theme.h')
-rw-r--r--src/theme.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theme.h b/src/theme.h
index 5fdea6d..5a7a9b9 100644
--- a/src/theme.h
+++ b/src/theme.h
@@ -76,6 +76,9 @@ struct _MetaFrameInfo
const char *title;
const MetaUIColors *colors;
+
+ MetaFrameControl current_control;
+ MetaUIState current_control_state;
/* Equal to child size before fill_frame_geometry
* has been called
@@ -121,6 +124,12 @@ struct _MetaThemeEngine
MetaFrameControl (* get_control) (MetaFrameInfo *info,
int x, int y,
gpointer frame_data);
+
+ void (* get_control_rect) (MetaFrameInfo *info,
+ MetaFrameControl control,
+ int *x, int *y,
+ int *width, int *height,
+ gpointer frame_data);
};
extern MetaThemeEngine meta_default_engine;