API Reference


Brew Release
Brew MP 1.0.2
See Also
- ITransition2
- Transition2Mover_Init
The mover transition is a transition that animates an object across the display. For example, an application could wrap a mover transition around an image widget, then begin moving that images vertically, horizontally or diagonally across the display, specifying each movement as a series of point-to-point destinations. The mover transition places the target object at a particular location (relative to a container that defines the movement's coordinate plane), then gradually moves the target object in a linear manner to a final destination location. For this transition to work properly, the target widget must be in a XYContainer.
To create a mover transition, an application would do the following:
   1. Create the object that will be the target of the mover transition
   2. Call ISHELL_CreateInstance() with a class ID of 
      AEECLSID_Transition2_Mover to retrieve a reference counted instance 
      of the mover transition.
   3. Call Transition2Mover_Init() to setup the initialize the mover's 
      custom properties, including the widget it is to wrap, the container 
      holding the widget, and the starting and ending coordinates.
   4. Call ITransitionMgr_Add() to add the transition to a manager.
This class will free itself if the reference count reaches zero.
Default Interface Name
Other Interfaces
  • Follow