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

Developer

API Reference

IWIDGET_SETBGIMAGENFRAMES()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_SetBGImageParm
Description
This routine is used to set the backgound image parameter's number of frames that together comprise the frames of an animated bitmap.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
nFrames
[]:
[in] The parameter that holds the number of frames of an animated bitmap to be set.
Interface
Prototype
  •    int IWidget_SetBGImageNFrames(IWidget *pif, int nFrames);
    
Return
  •    AEE_SUCCESS - If the widget is able to set the background image's number of frames.
       AEE_EFAILED - If the widget failed to set the background image's number of frames.
    
Side Effect
  • None
Comments
Note that when the number of animation frames is specified explicitly, the size of each frame (represented by IPARM_CXFRAME) is calculated.