From: Dana Jansens Date: Sun, 6 Apr 2003 06:15:27 +0000 (+0000) Subject: add functions to the engine interface for rendering and sizing a text label X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=af21cb131a784b3d76e9930421a3595f5819dc71;p=chaz%2Fopenbox add functions to the engine interface for rendering and sizing a text label --- diff --git a/engines/engineinterface.h b/engines/engineinterface.h index fd77ca29..080e301e 100644 --- a/engines/engineinterface.h +++ b/engines/engineinterface.h @@ -1,7 +1,9 @@ #ifndef __engineinterface_h #define __engineinterface_h -#include "../kernel/frame.h" +#include "kernel/frame.h" +#include "kernel/geom.h" +#include #include /* 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