nw::lyt::BindAnimation Function

Syntax

void BindAnimation(
     Group * pGroup,
     AnimTransform * pAnimTrans,
     bool                      bRecursive = true,
     bool                 bDisable    = false
);

Arguments

Name Description
pGroup Pointer to the group.
pAnimTrans Pointer to the animation.
bRecursive Specify TRUE to also search for child panes.
bDisable Specify TRUE when binding an animation in a disabled state.

Return Values

None.

Description

Binds an animation to each individual pane in a group.

When called while passing TRUE to bRecursive, the panes to be bound are also searched for among the child panes.

If TRUE is passed in bDisable when this function is called, animations are bound in a disabled state. To enable, use SetAnimationEnable.

See Also

nw::lyt::UnbindAnimation
nw::lyt::Pane::BindAnimation
nw::lyt::Pane::SetAnimationEnable

Revision History

2009/09/18
Initial version.

CONFIDENTIAL