]> Dogcows Code - chaz/openbox/blobdiff - engines/engineinterface.h
move the themes
[chaz/openbox] / engines / engineinterface.h
index 96796eddf27475dec6dfec0f75f2412aa3052be2..1dbc9c70d8724c6e9b698c971edc5400a573c78e 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef __engineinterface_h
 #define __engineinterface_h
 
-#include "../kernel/frame.h"
+#include "kernel/frame.h"
+#include "kernel/geom.h"
+#include <X11/Xlib.h>
 #include <glib.h>
 
 /* startup */
@@ -18,12 +20,10 @@ typedef void EngineFrameGrabClient(Frame *self, Client *client);
 /* frame_release_client */
 typedef void EngineFrameReleaseClient(Frame *self, Client *client);
 
-/* frame_adjust_size */
-/*! Update the frame's size to match the client */
-typedef void EngineFrameAdjustSize(Frame *self);
-/* frame_adjust_position */
-/*! Update the frame's position to match the client */
-typedef void EngineFrameAdjustPosition(Frame *self);
+/* frame_adjust_area */
+/*! Update the frame's size/position to match the client */
+typedef void EngineFrameAdjustArea(Frame *self, gboolean moved,
+                                   gboolean resized);
 /* frame_adjust_shape */
 /*! Shape the frame window to the client window */
 typedef void EngineFrameAdjustShape(Frame *self);
@@ -48,6 +48,12 @@ typedef void EngineFrameShow(Frame *self);
 typedef void EngineFrameHide(Frame *self);
 
 /* get_context */
-typedef GQuark EngineGetContext(Client *client, Window win);
+typedef Context EngineGetContext(Client *client, Window win);
+
+typedef void EngineRenderLabel(Window win, Size *sz, char *text,
+                               gboolean hilight, gboolean toplevel);
+
+typedef void EngineSizeLabel(char *text, gboolean hilight, gboolean toplevel,
+                             Size *s);
 
 #endif
This page took 0.021325 seconds and 4 git commands to generate.