Files
libmatchboxwm2/managers/xrender/mb-wm-comp-mgr-xrender.h
Robert Bragg 4105968374 managers: Adds an example xrender based compositor
Like the clutter based compositor it is based on the code of the simple
manager and it builds on the mb-wm-comp-mgr-xrender code that used to
live under the matchbox directory but has now been moved to part of the
compositor itself.
2010-12-09 22:46:47 +00:00

69 lines
2.1 KiB
C

/*
* Matchbox Window Manager - A lightweight window manager not for the
* desktop.
*
* Authored By Matthew Allum <mallum@o-hand.com>
* Tomas Frydrych <tf@o-hand.com>
*
* Copyright (c) 2002, 2004, 2007 OpenedHand Ltd - http://o-hand.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _HAVE_MB_WM_COMP_MGR_DEFAULT_H
#define _HAVE_MB_WM_COMP_MGR_DEFAULT_H
#include <matchbox/matchbox.h>
#define MB_WM_COMP_MGR_DEFAULT(c) ((MBWMCompMgrDefault*)(c))
#define MB_WM_COMP_MGR_DEFAULT_CLASS(c) ((MBWMCompMgrDefaultClass*)(c))
#define MB_WM_TYPE_COMP_MGR_DEFAULT (mb_wm_comp_mgr_xrender_class_type ())
typedef struct MBWMCompMgrDefault MBWMCompMgrDefault;
typedef struct MBWMCompMgrDefaultPrivate MBWMCompMgrDefaultPrivate;
typedef struct MBWMCompMgrDefaultClass MBWMCompMgrDefaultClass;
#define MB_WM_COMP_MGR_DEFAULT_CLIENT(c) ((MBWMCompMgrDefaultClient*)(c))
#define MB_WM_COMP_MGR_DEFAULT_CLIENT_CLASS(c) ((MBWMCompMgrDefaultClientClass*)(c))
#define MB_WM_TYPE_COMP_MGR_DEFAULT_CLIENT (mb_wm_comp_mgr_xrender_client_class_type ())
typedef struct MBWMCompMgrDefaultClient MBWMCompMgrDefaultClient;
typedef struct MBWMCompMgrDefaultClientClass MBWMCompMgrDefaultClientClass;
typedef struct MBWMCompMgrDefaultClentPrivate MBWMCompMgrDefaultClientPrivate;
struct MBWMCompMgrDefault
{
MBWMCompMgr parent;
MBWMCompMgrDefaultPrivate *priv;
};
struct MBWMCompMgrDefaultClass
{
MBWMCompMgrClass parent;
};
int
mb_wm_comp_mgr_xrender_class_type ();
MBWMCompMgr*
mb_wm_comp_mgr_xrender_new (MBWMManager *wm);
struct MBWMCompMgrDefaultClientClass
{
MBWMCompMgrClientClass parent;
};
int
mb_wm_comp_mgr_xrender_client_class_type ();
#endif