2008-05-28 Emmanuele Bassi <ebassi@openedhand.com>
Bug 882 - Allow child properties for containers implementing the ClutterContainer interface (Øyvind Kolås) * clutter/clutter-child-meta.[ch]: Base class for the metadata of a ClutterActor inside a ClutterContainer; the ChildMeta object implements a wrapper for storing data that is attached to a ClutterActor only when it's part of a ClutterContainer. The ChildMeta object is used to store the child properties accessible through the ClutterContainer API. * clutter/clutter-container.[ch]: Creates the ChildMeta for each actor, in case the Container specifies the ChildMeta type to use. * clutter/Makefile.am: Add clutter-child-meta.[ch] to the build. * clutter/clutter-marshal.list: Add the marshaller for the ClutterContainer::child-notify signal. * clutter/clutter-types.h: Declare ClutterContainer and ClutterChildMeta to avoid recursive inclusion.
This commit is contained in:
@ -38,8 +38,10 @@ G_BEGIN_DECLS
|
||||
#define CLUTTER_TYPE_VERTEX (clutter_vertex_get_type ())
|
||||
|
||||
/* Forward delarations to avoid header catch 22's */
|
||||
typedef struct _ClutterActor ClutterActor;
|
||||
typedef struct _ClutterStage ClutterStage;
|
||||
typedef struct _ClutterActor ClutterActor;
|
||||
typedef struct _ClutterStage ClutterStage;
|
||||
typedef struct _ClutterContainer ClutterContainer; /* dummy */
|
||||
typedef struct _ClutterChildMeta ClutterChildMeta;
|
||||
|
||||
/**
|
||||
* ClutterGravity:
|
||||
|
Reference in New Issue
Block a user