OMLeafState 类

OMLeafState 类用于设置组件的活动状态。

这个类是在头文件 state.h 中定义的。

构造概要
OMLeafState
创建 OMLeafState 对象
方法概要
entDef
指定从缺省过渡进入状态时所调用的操作。
enterState
指定状态进入操作
exitState
指定状态退出操作
in
当所有者类处于此状态时,返回 TRUE
serializeStates
将在动画期间调用此方法以发送状态信息
标志

component

指定组件。其定义如下所示:
OMComponentState* component;


反馈