Data Structures | |
| struct | Rt2dButton |
Functions | |
| Rt2dMaestro * | Rt2dMaestroAddButton (Rt2dMaestro *maestro, RwInt32 strLabelIdx, RwInt32 objectIdx, RwUInt32 stateFlag, RwInt32 *actionListIdx, RwInt32 *index) |
|
||||||||||||||||||||||||||||
|
Rt2dMaestroAddButton is used to add a single button to the maestro. The maestro maintains a central repository for all buttons that exist in the scene. An index reference for the button is returned. This index can be added to any cels that requires the button, allowing the button to be shared between cels. A button requires a label for indentification and an object. Both are given as indices to the maestro's label table and scene respectively. The stateFlag lists the available states and transition states. For every possible transition there must be a corresponding index in the message index list. The entries in the message list index must match the order of the transition states in the stateFlag. The button's index in the maestro is returned if index is not NULL.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:08 2004.
Send Feedback