summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorrhp <rhp>2001-06-18 03:24:25 +0000
committerrhp <rhp>2001-06-18 03:24:25 +0000
commitd090d9f284e27aee37062c0e2f926075dc5b9a06 (patch)
tree13e71f3f64e7c0e7f5cbf352907f7a1d7e4bf20c /src/frames.h
parent59513231a57cba1c67ed574a660cc19e3ace9922 (diff)
downloadmetacity-d090d9f284e27aee37062c0e2f926075dc5b9a06.tar.gz
metacity-d090d9f284e27aee37062c0e2f926075dc5b9a06.tar.bz2
...
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h35
1 files changed, 34 insertions, 1 deletions
diff --git a/src/frames.h b/src/frames.h
index 444b8b1..eb42dd6 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -24,7 +24,25 @@
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
-#include "messages.h"
+#include "common.h"
+
+typedef enum
+{
+ META_FRAME_CONTROL_NONE,
+ META_FRAME_CONTROL_TITLE,
+ META_FRAME_CONTROL_DELETE,
+ META_FRAME_CONTROL_MENU,
+ META_FRAME_CONTROL_MINIMIZE,
+ META_FRAME_CONTROL_MAXIMIZE,
+ META_FRAME_CONTROL_RESIZE_SE,
+ META_FRAME_CONTROL_RESIZE_S,
+ META_FRAME_CONTROL_RESIZE_SW,
+ META_FRAME_CONTROL_RESIZE_N,
+ META_FRAME_CONTROL_RESIZE_NE,
+ META_FRAME_CONTROL_RESIZE_NW,
+ META_FRAME_CONTROL_RESIZE_W,
+ META_FRAME_CONTROL_RESIZE_E
+} MetaFrameControl;
/* This is one widget that manages all the window frames
* as subwindows.
@@ -73,4 +91,19 @@ void meta_frames_set_title (MetaFrames *frames,
Window xwindow,
const char *title);
+void meta_frames_get_geometry (MetaFrames *frames,
+ Window xwindow,
+ int *top_height, int *bottom_height,
+ int *left_width, int *right_width);
+
+void meta_frames_reset_bg (MetaFrames *frames,
+ Window xwindow);
+
+void meta_frames_set_flags (MetaFrames *frames,
+ Window xwindow,
+ MetaFrameFlags flags);
+
+void meta_frames_queue_draw (MetaFrames *frames,
+ Window xwindow);
+
#endif