Category Animation, Object ProAnimation

Callback ProAnimButtonCb


Description
Signature of notification callback function performed when a button in the animation dialog is picked.

NOTE: The callback is registered using the generic Creo Parametric TOOLKIT notification method, and is called whenever a button is pressed on the animation dialog.

Synopsis
#include <ProAnimate.h>
int(*ProAnimButtonCb)(
void* window
/* (In)
The window that is animating
*/
int curr_frame
/* (In)
The frame that is currently displayed in the window
*/
int anim_button
/* (In)
The button that was pressed to cause this callback
*/
int play_state
/* (In)
The play state of the animation: either playing or stopped
*/
)
Returns
Return values are not interpreted by Creo Parametric