summaryrefslogtreecommitdiff
path: root/engines/engineinterface.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-13 07:18:28 +0000
committerDana Jansens <danakj@orodu.net>2003-04-13 07:18:28 +0000
commit5cf61ee02354c1c9f80c11f3796afc4b948055d6 (patch)
tree5530ecca55e11cc74e57db07d750447c7107f8ed /engines/engineinterface.h
parentfb1696659672386bcfc0f753b67f9eeda74e93b9 (diff)
move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel.
Diffstat (limited to 'engines/engineinterface.h')
-rw-r--r--engines/engineinterface.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/engines/engineinterface.h b/engines/engineinterface.h
deleted file mode 100644
index 1dbc9c70..00000000
--- a/engines/engineinterface.h
+++ /dev/null
@@ -1,59 +0,0 @@
-#ifndef __engineinterface_h
-#define __engineinterface_h
-
-#include "kernel/frame.h"
-#include "kernel/geom.h"
-#include <X11/Xlib.h>
-#include <glib.h>
-
-/* startup */
-typedef gboolean EngineStartup();
-
-/* shutdown */
-typedef void EngineShutdown();
-
-/* frame_new */
-typedef Frame *EngineFrameNew();
-
-/* frame_grab_client */
-typedef void EngineFrameGrabClient(Frame *self, Client *client);
-/* frame_release_client */
-typedef void EngineFrameReleaseClient(Frame *self, Client *client);
-
-/* 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);
-/* frame_adjust_state */
-/*! Update the frame to match the client's new state (for things like toggle
- buttons, focus, and the title) XXX break this up */
-typedef void EngineFrameAdjustState(Frame *self);
-/* frame_adjust_focus */
-/*! Update the frame to match the client's focused state */
-typedef void EngineFrameAdjustFocus(Frame *self);
-/* frame_adjust_title */
-/*! Update the frame to display the client's current title */
-typedef void EngineFrameAdjustTitle(Frame *self);
-/* frame_adjust_icon */
-/*! Update the frame to display the client's current icon */
-typedef void EngineFrameAdjustIcon(Frame *self);
-
-/* frame_show */
-/*! Shows the frame */
-typedef void EngineFrameShow(Frame *self);
-/*! Hides the frame */
-typedef void EngineFrameHide(Frame *self);
-
-/* get_context */
-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