2009-06-29 18:30:26 +00:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
|
2010-10-18 17:27:14 +00:00
|
|
|
#ifndef META_WINDOW_GROUP_H
|
|
|
|
#define META_WINDOW_GROUP_H
|
2009-06-29 18:30:26 +00:00
|
|
|
|
|
|
|
#include <clutter/clutter.h>
|
|
|
|
|
2011-03-06 00:29:12 +00:00
|
|
|
#include <meta/screen.h>
|
2009-06-29 18:30:26 +00:00
|
|
|
|
|
|
|
/**
|
2010-10-18 17:27:14 +00:00
|
|
|
* MetaWindowGroup:
|
2009-06-29 18:30:26 +00:00
|
|
|
*
|
2013-03-14 21:55:24 +00:00
|
|
|
* This class is a subclass of ClutterActor with special handling for
|
2013-11-21 20:25:08 +00:00
|
|
|
* #MetaCullable when painting children. It uses code similar to
|
|
|
|
* meta_cullable_cull_out_children(), but also has additional special
|
|
|
|
* cases for the undirected window, and similar.
|
2009-06-29 18:30:26 +00:00
|
|
|
*/
|
|
|
|
|
2010-10-18 17:27:14 +00:00
|
|
|
#define META_TYPE_WINDOW_GROUP (meta_window_group_get_type ())
|
|
|
|
#define META_WINDOW_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_WINDOW_GROUP, MetaWindowGroup))
|
|
|
|
#define META_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_WINDOW_GROUP, MetaWindowGroupClass))
|
|
|
|
#define META_IS_WINDOW_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_WINDOW_GROUP))
|
2010-10-24 09:59:23 +00:00
|
|
|
#define META_IS_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_WINDOW_GROUP))
|
2010-10-18 17:27:14 +00:00
|
|
|
#define META_WINDOW_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_WINDOW_GROUP, MetaWindowGroupClass))
|
2009-06-29 18:30:26 +00:00
|
|
|
|
2010-10-18 17:27:14 +00:00
|
|
|
typedef struct _MetaWindowGroup MetaWindowGroup;
|
|
|
|
typedef struct _MetaWindowGroupClass MetaWindowGroupClass;
|
|
|
|
typedef struct _MetaWindowGroupPrivate MetaWindowGroupPrivate;
|
2009-06-29 18:30:26 +00:00
|
|
|
|
2010-10-18 17:27:14 +00:00
|
|
|
GType meta_window_group_get_type (void);
|
2009-06-29 18:30:26 +00:00
|
|
|
|
2010-10-18 17:27:14 +00:00
|
|
|
ClutterActor *meta_window_group_new (MetaScreen *screen);
|
2009-06-29 18:30:26 +00:00
|
|
|
|
2013-02-18 22:55:26 +00:00
|
|
|
gboolean meta_window_group_actor_is_untransformed (ClutterActor *actor,
|
|
|
|
int *x_origin,
|
|
|
|
int *y_origin);
|
2010-10-18 17:27:14 +00:00
|
|
|
#endif /* META_WINDOW_GROUP_H */
|