Developer

API Reference

Transition2Scroller_Init()

Brew Release
Brew MP 1.0.2
Description
This function initializes the properties of a scroller transition. It sets the widget directly, and uses a descriptor to quickly initialize the custom parameters of the transition. An application using the scroller transition should init the scroller after creating an instance of the object.
Parameters
  • piTrans
    []:
    Pointer to a Transition2_Resizer object
  • piWidget
    []:
    Pointer to the widget that will be the target of scroller.
  • nVel
    []:
    Specifies initial velocity of scroll.
  • nAccl
    []:
    Specifies acceleration
  • nScrollDir
    []:
    Specifies direction of scroll (TOUCHOBS_DIR_UP,TOUCHOBS_DIR_DOWN, TOUCHOBS_DIR_RIGHT or TOUCHOBS_DIR_LEFT)
Prototype
   int Transition2Scroller_Init(ITransition2 *piTrans, IWidget * piWidget,  
                                          int nVel,int nAccl,int nScrollDir);
Return
AEE_SUCCESS - if transition is initialized AEE_EFAILED - otherwise
Side Effect
None
Comment
None
  • Follow