API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

TRANSITION2MOVER_INIT()

Brew Release
Brew MP 1.0.2
See Also
Description
This function initializes the properties of a mover transitions. It sets the widget and container directly, and uses a descriptor to quickly initialize the custom parameters of the transition. An application using a mover transition should init the mover after creating an instance of the object.
Params
piTrans
[]:
Pointer to a Transition2_Mover object
piWidget
[]:
Pointer to the widget that will be the target of mover transitions.
startx
[]:
Specifies the starting x coordinate for the target object. The mover will place the target object at this location (relative to the container, 'c') at the start of the move transition.
starty
[]:
Specifies the starting y coordinate for the target object.
endx
[]:
Specifies the finishing x coordinate for the target object. The mover will gradually move the target object in a linear direction towards this point until (endx, endy) is reached.
endy
[]:
Specifies the finishing y coordinate for the target object.
Prototype
  •    Transition2Mover_Init(ITransition2 *piTrans, IWidget * piWidget, 
                             int16 startx, int16 starty,
                             int16 endx, int16 endy);
    
Return
  • None
Side Effect
  • None
Comments
None