mirror of
https://github.com/brl/mutter.git
synced 2025-03-29 06:33:46 +00:00
actor: Document fields of ClutterActorPrivate
The private data structure members could do with more comments documenting what they do.
This commit is contained in:
parent
9eed2f58a6
commit
ea7111333b
@ -365,12 +365,21 @@ struct _ClutterActorPrivate
|
|||||||
guint cached_height_age;
|
guint cached_height_age;
|
||||||
guint cached_width_age;
|
guint cached_width_age;
|
||||||
|
|
||||||
|
/* the bounding box of the actor, relative to the parent's
|
||||||
|
* allocation
|
||||||
|
*/
|
||||||
ClutterActorBox allocation;
|
ClutterActorBox allocation;
|
||||||
ClutterAllocationFlags allocation_flags;
|
ClutterAllocationFlags allocation_flags;
|
||||||
|
|
||||||
/* depth */
|
/* depth */
|
||||||
gfloat z;
|
gfloat z;
|
||||||
|
|
||||||
|
/* clip, in actor coordinates; offsets are:
|
||||||
|
* 0: x
|
||||||
|
* 1: y
|
||||||
|
* 2: width
|
||||||
|
* 3: height
|
||||||
|
*/
|
||||||
gfloat clip[4];
|
gfloat clip[4];
|
||||||
|
|
||||||
/* the cached transformation matrix; see apply_transform() */
|
/* the cached transformation matrix; see apply_transform() */
|
||||||
@ -395,9 +404,17 @@ struct _ClutterActorPrivate
|
|||||||
|
|
||||||
gint32 pick_id; /* per-stage unique id, used for picking */
|
gint32 pick_id; /* per-stage unique id, used for picking */
|
||||||
|
|
||||||
|
/* a back-pointer to the Pango context that we can use
|
||||||
|
* to create pre-configured PangoLayout
|
||||||
|
*/
|
||||||
PangoContext *pango_context;
|
PangoContext *pango_context;
|
||||||
|
|
||||||
|
/* the text direction configured for this child - either by
|
||||||
|
* application code, or by the actor's parent
|
||||||
|
*/
|
||||||
ClutterTextDirection text_direction;
|
ClutterTextDirection text_direction;
|
||||||
|
|
||||||
|
/* a counter used to toggle the CLUTTER_INTERNAL_CHILD flag */
|
||||||
gint internal_child;
|
gint internal_child;
|
||||||
|
|
||||||
/* meta classes */
|
/* meta classes */
|
||||||
@ -405,6 +422,7 @@ struct _ClutterActorPrivate
|
|||||||
ClutterMetaGroup *constraints;
|
ClutterMetaGroup *constraints;
|
||||||
ClutterMetaGroup *effects;
|
ClutterMetaGroup *effects;
|
||||||
|
|
||||||
|
/* delegate object used to allocate the children of this actor */
|
||||||
ClutterLayoutManager *layout_manager;
|
ClutterLayoutManager *layout_manager;
|
||||||
|
|
||||||
/* used when painting, to update the paint volume */
|
/* used when painting, to update the paint volume */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user