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

Developer

API Reference

IWIDGET_SETIMAGEFRAME()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_SetProperty() IWidget_GetImageFrame
Description
This function is use to set which frame of a multiple-framed image to render when the ImageWidget draws itself.
Params
pif
[]:
[in] Pointer to the IWidget object.
nFrame
[]:
[in] Specifies which frame in the animation sequence to render
Interface
Prototype
  •    int IWidget_SetImageFrame(IWidget *pif, int nFrame)
    
Return
  •    AEE_SUCCESS - If BREW was able to successfully set the frame
       AEE_EFAILED - If the was out of range and frame could not be set.
    
Side Effect
  • If successful, the next time the Image Widget renders its image, the frame set in this call will be rendered.
Comments
None