]> Dogcows Code - chaz/openbox/commitdiff
add functions to the engine interface for rendering and sizing a text label
authorDana Jansens <danakj@orodu.net>
Sun, 6 Apr 2003 06:15:27 +0000 (06:15 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 6 Apr 2003 06:15:27 +0000 (06:15 +0000)
engines/engineinterface.h

index fd77ca291b7f930f9a85606f21238b5615bd9253..080e301e2f64f0a95794ea74430332814f826010 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 */
@@ -48,4 +50,10 @@ typedef void EngineFrameHide(Frame *self);
 /* get_context */
 typedef Context EngineGetContext(Client *client, Window win);
 
+typedef void EngineRenderLabel(Window win, Rect *area, char *text,
+                               gboolean hilight, gboolean toplevel);
+
+typedef void EngineSizeLabel(char *text, gboolean hilight, gboolean toplevel,
+                             Size *s);
+
 #endif
This page took 0.023413 seconds and 4 git commands to generate.