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.
Parameters
  • 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
Comment
Note that when the number of animation frames is specified explicitly, the size of each frame (represented by IPARM_CXFRAME) is calculated.
  • Follow