mirror of
https://github.com/brl/mutter.git
synced 2025-02-08 09:34:10 +00:00
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: Add actor box diagram and notes.
This commit is contained in:
parent
7ce1a60140
commit
d192f73b78
@ -1,3 +1,7 @@
|
|||||||
|
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-actor.c: Add actor box diagram and notes.
|
||||||
|
|
||||||
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-behaviour-path.c: Move the nice graph and
|
* clutter/clutter-behaviour-path.c: Move the nice graph and
|
||||||
|
@ -32,7 +32,14 @@
|
|||||||
* be a #ClutterActor, either by using one of the classes provided by
|
* be a #ClutterActor, either by using one of the classes provided by
|
||||||
* Clutter, or by implementing a new #ClutterActor subclass.
|
* Clutter, or by implementing a new #ClutterActor subclass.
|
||||||
*
|
*
|
||||||
* Actor Transformations
|
* Every actor is a 2D surface in a 3D environment. The surface is contained
|
||||||
|
* inside its bounding box, described by the #ClutterActorBox structure:
|
||||||
|
*
|
||||||
|
* <figure id="actor-box">
|
||||||
|
* <title>Bounding box of an Actor</title>
|
||||||
|
* <graphic fileref="actor-box.png" format="PNG"/>
|
||||||
|
* </figure>
|
||||||
|
*
|
||||||
* The OpenGL modelview matrix for the actor is constructed from the actor
|
* The OpenGL modelview matrix for the actor is constructed from the actor
|
||||||
* settings by the following order of operations:
|
* settings by the following order of operations:
|
||||||
* <orderedlist>
|
* <orderedlist>
|
||||||
@ -49,10 +56,10 @@
|
|||||||
* </listitem>
|
* </listitem>
|
||||||
* </orderedlist>
|
* </orderedlist>
|
||||||
*
|
*
|
||||||
* NB: the position of any children is referenced from the top-left corner of
|
* <note>The position of any children is referenced from the top-left corner of
|
||||||
* the parent, not the parent's anchor point.
|
* the parent, not the parent's anchor point.</note>
|
||||||
*
|
*
|
||||||
* Event handling
|
* Events are handled in the following ways:
|
||||||
* <orderedlist>
|
* <orderedlist>
|
||||||
* <listitem><para>Actors emit pointer events if set reactive, see
|
* <listitem><para>Actors emit pointer events if set reactive, see
|
||||||
* clutter_actor_set_reactive()</para></listitem>
|
* clutter_actor_set_reactive()</para></listitem>
|
||||||
@ -84,6 +91,8 @@
|
|||||||
* <graphic fileref="event-flow.png" format="PNG"/>
|
* <graphic fileref="event-flow.png" format="PNG"/>
|
||||||
* </figure>
|
* </figure>
|
||||||
*
|
*
|
||||||
|
* Every '?' box in the diagram above is an entry point for application
|
||||||
|
* code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user