Developer

API Reference

AEECLSID_Transition2_Fader

Brew Release
Brew MP 1.0.2
See Also
- ITransition2 Interface
- ITransitionMgr Interface
- Transition2Fader_Init()
Description
The fader transition is a transition that applies a visual fade in/out effect to the widget it wraps. For example, a popup menu could be wrapped by a fader. Once displayed, the fader could be instructed to fade out the wrapped popup over some period of time. As the fade out effect begins, the wrapped popup would be drawn with an initial level of transparency (which could, initially, be fully opaque), and then would gradually lose opacity until it reached a final level of transparency.
Instantiaion
To create a fader transition, an application would do the following:
   1. Create the object that will be the target of the fader transition
   2. Call ISHELL_CreateInstance() with a class ID of 
      AEECLSID_TRANSITION2_FADER to retrieve a reference counted instance
      of the fader transition.
   3. Call Transition2Fader_Init() to setup and initialize the fader's 
      custom properties, including the target widget and the start/end 
      alpha values.
   4. Call ITransitionMgr_Add() to add the transition to a manager.
Cleanup
This class will free itself if the reference count reaches zero.
Default Interface Name
Other Interfaces
  • Follow