Callback Signature Macros | |||||||||||||
It is recommended that you use these Callback Signature Macros to define their associated Callbacks. This will help to shield your code from changes to messiahAPI. | |||||||||||||
#define | FX_CONCALLBACK(func) | ||||||||||||
Function Signature Macro for control_func(). | |||||||||||||
Control Notification Messages | |||||||||||||
| |||||||||||||
#define | ACC_VALUE | ||||||||||||
Value has changed. | |||||||||||||
#define | ACC_NONE | ||||||||||||
No event notification. | |||||||||||||
#define | ACC_UPDATE | ||||||||||||
Control needs to be updated. | |||||||||||||
#define | ACC_DRAW | ||||||||||||
Control is about to draw. | |||||||||||||
#define | ACC_DRAW_POST | ||||||||||||
Control has been drawn. | |||||||||||||
#define | ACC_TIMER | ||||||||||||
Timer notification. | |||||||||||||
#define | ACC_MOUSEDOWN | ||||||||||||
Mouse down on control. | |||||||||||||
#define | ACC_MOUSEUP | ||||||||||||
Mouse up on control. | |||||||||||||
#define | ACC_MOUSEMOVE | ||||||||||||
Mouse move on control. | |||||||||||||
#define | ACC_MOUSEDRAG | ||||||||||||
Mouse down and move on control. | |||||||||||||
#define | ACC_MOUSEDBLCLICK | ||||||||||||
Mouse double click on control. | |||||||||||||
#define | ACC_MOUSEIN | ||||||||||||
Mouse has entered the space of the control. | |||||||||||||
#define | ACC_MOUSEOUT | ||||||||||||
Mouse has left the space of the control. | |||||||||||||
#define | ACC_MOUSEWHEEL | ||||||||||||
Mouse wheel over control. | |||||||||||||
#define | ACC_CHAR | ||||||||||||
Key down and up while control is active. | |||||||||||||
#define | ACC_KEYDOWN | ||||||||||||
Key pressed while control is active. | |||||||||||||
#define | ACC_KEYUP | ||||||||||||
Key released while control is active. | |||||||||||||
#define | ACC_GAINFOCUS | ||||||||||||
Control has become active. | |||||||||||||
#define | ACC_LOSEFOCUS | ||||||||||||
Control has just become deactive. | |||||||||||||
#define | ACC_SIZE | ||||||||||||
Control is being sized. | |||||||||||||
#define | ACC_MOVE | ||||||||||||
Control is being moved. | |||||||||||||
#define | ACC_RENAME | ||||||||||||
Control is being renamed. | |||||||||||||
#define | ACC_HIDE | ||||||||||||
Hide control. | |||||||||||||
#define | ACC_SHOW | ||||||||||||
Un-hide control. | |||||||||||||
#define | ACC_REMOVE | ||||||||||||
Remove control. | |||||||||||||
#define | ACC_RESTORE | ||||||||||||
Restore control. | |||||||||||||
#define | ACC_DISABLE | ||||||||||||
Grey or ghost a control. | |||||||||||||
#define | ACC_ENABLE | ||||||||||||
Un-ghost a control. | |||||||||||||
#define | ACC_ACTIVATE | ||||||||||||
Activate a control, or give it the focus. | |||||||||||||
#define | ACC_DEACTIVATE | ||||||||||||
Deactivate a control. | |||||||||||||
#define | ACC_CREATE | ||||||||||||
Control is being created. | |||||||||||||
#define | ACC_COPY | ||||||||||||
Control is being copied. | |||||||||||||
#define | ACC_DESTROY | ||||||||||||
Control is being destroyed. | |||||||||||||
#define | ACC_ALL | ||||||||||||
Indicates that you are interested in ALL CN messages. | |||||||||||||
Interface Modes | |||||||||||||
| |||||||||||||
#define | FX_MODE_ANIMATE | ||||||||||||
Animate Mode. | |||||||||||||
#define | FX_MODE_SETUP | ||||||||||||
Setup Mode. | |||||||||||||
#define | FX_MODE_RENDER | ||||||||||||
Render Mode. | |||||||||||||
Standard Blocks | |||||||||||||
| |||||||||||||
#define | FX_MBLOCK_VALUES | ||||||||||||
A list of channel values, seen on a Slider. | |||||||||||||
#define | FX_MBLOCK_MOTION | ||||||||||||
A list of channel values, grouped by translation, rotation and scale, commonly seen on a Null among others. | |||||||||||||
#define | FX_MBLOCK_SPLINE | ||||||||||||
Contains spline settings such as TCB and Bezier values, seen on anything that contains animatable values. | |||||||||||||
#define | FX_MBLOCK_IK | ||||||||||||
IK information, should be created for all "objects". | |||||||||||||
#define | FX_MBLOCK_SHADER | ||||||||||||
Shader name and Opacity settings, most shaders should have this block. | |||||||||||||
#define | FX_MBLOCK_PROPERTIES | ||||||||||||
Contains standard shader properties, may not be appropriate for all shaders. | |||||||||||||
Interface Update | |||||||||||||
#define | FX_UPDATE_GRAPH | ||||||||||||
Update the graph window. | |||||||||||||
#define | FX_UPDATE_WORLD | ||||||||||||
Update the world view (3D view). | |||||||||||||
#define | FX_UPDATE_CONTROLS | ||||||||||||
Update buttons, sliders etc. | |||||||||||||
#define | FX_UPDATE_LIST | ||||||||||||
Update lists. | |||||||||||||
#define | FX_UPDATE_TRANSPORT | ||||||||||||
Update the controls under the motion graph. | |||||||||||||
FXvoid | fxInterfaceUpdate (FXint update, FXint flags) | ||||||||||||
Use one of the above macros for the update parameter to update that area of the messiah interface. | |||||||||||||
Callback Functions | |||||||||||||
| |||||||||||||
FXint | control_func (FXcontrol ctl, FXentity ctl_data, FX_Arg *arg, FXint64 entry) | ||||||||||||
User implemented control function. | |||||||||||||
Control Creation Functions | |||||||||||||
| |||||||||||||
FXcontrol | fxCC_Block (FXchar *name, FXvoid *callback, FXint64 access, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_Area (FXchar *name, FXvoid *callback, FXint64 access, FXint width, FXint height) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_Button (FXchar *name, FXvoid *callback, FXint64 access, FXint width) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_Bool (FXchar *name, FXvoid *callback, FXint64 access) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_BoolButton (FXchar *name, FXvoid *callback, FXint64 access, FXint width) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_DragButton (FXchar *name, FXvoid *callback, FXint64 access, FXint width, FXint icon) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_Choice (FXchar *name, FXvoid *callback, FXint64 access, FXint size, FXint spacing, FXchar **labels, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_String (FXchar *name, FXvoid *callback, FXint64 access, FXint width, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_Float (FXchar *name, FXvoid *callback, FXint64 access, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_Int (FXchar *name, FXvoid *callback, FXint64 access, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_DragFloat (FXchar *name, FXvoid *callback, FXint64 access, FXdouble min, FXdouble max, FXdouble step, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_DragInt (FXchar *name, FXvoid *callback, FXint64 access, FXint min, FXint max, FXint step, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_ChannelFloat (FXchar *name, FXvoid *callback, FXint64 access, FXint channel, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_ShaderChannelFloat (FXchar *name, FXvoid *callback, FXint64 access, FXint channel, FXint input, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_PopupList (FXchar *name, FXvoid *callback, FXint64 access, FXint width, FXchar **items, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_WeightPopup (FXchar *name, FXvoid *callback, FXint64 access, FXint width) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_Separator (FXchar *name, FXvoid *callback, FXint64 access, FXint length, FXint weight, FXint vertical, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXcontrol | fxCC_ObjectPopup (FXchar *name, FXvoid *callback, FXint64 access, FXint width, FXchar **filter_types, FXobject *objIDs, FXvoid *func, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxInterfaceBlockSet (FXchar *mode_name, FXchar *source, FXchar *block_name, FXcontrol block) | ||||||||||||
Control Reset Functions | |||||||||||||
FXint | fxCR_Block (FXcontrol conID, FXint reset_args, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_Area (FXcontrol conID, FXint reset_args, FXint width, FXint height) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_Button (FXcontrol conID, FXint reset_args, FXint width) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_BoolButton (FXcontrol conID, FXint reset_args, FXint width) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_DragButton (FXcontrol conID, FXint reset_args, FXint width, FXint icon) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_Choice (FXcontrol conID, FXint reset_args, FXint size, FXint spacing, FXchar **labels, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_String (FXcontrol conID, FXint reset_args, FXint width, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_Float (FXcontrol conID, FXint reset_args, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_Int (FXcontrol conID, FXint reset_args, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_DragFloat (FXcontrol conID, FXint reset_args, FXdouble min, FXdouble max, FXdouble step, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_DragInt (FXcontrol conID, FXint reset_args, FXint min, FXint max, FXint step, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_ChannelFloat (FXcontrol conID, FXint reset_args, FXint channel, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_ShaderChannelFloat (FXcontrol conID, FXint reset_args, FXint channel, FXint input, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_KeyFrame (FXcontrol conID, FXint reset_args, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_PopupList (FXcontrol conID, FXint reset_args, FXint width, FXchar **items, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_ObjectPopup (FXcontrol conID, FXint reset_args, FXint width, FXchar **filter_types, FXint *objIDs, FXvoid *func, FXint flags) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_WeightPopup (FXcontrol conID, FXint reset_args, FXint width) | ||||||||||||
DESC. | |||||||||||||
FXint | fxCR_Separator (FXcontrol conID, FXint reset_args, FXint length, FXint weight, FXint vertical, FXint flags) | ||||||||||||
DESC. | |||||||||||||
Control Properties Functions | |||||||||||||
| |||||||||||||
FXint | fxConSetSize (FXcontrol conID, FXint width, FXint height) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetPos (FXcontrol conID, FXint x, FXint y) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetName (FXcontrol conID, FXchar *name) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetSize (FXcontrol conID, FXint *width, FXint *height) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetPos (FXcontrol conID, FXint *x, FXint *y) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetName (FXcontrol conID, FXchar *name, FXint buffer_length) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetNameWidth (FXcontrol conID, FXint *width) | ||||||||||||
DESC. | |||||||||||||
Control Visibility Functions | |||||||||||||
| |||||||||||||
FXint | fxConHide (FXcontrol conID) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConShow (FXcontrol conID) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConDisable (FXcontrol conID) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConEnable (FXcontrol conID) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConUpdate (FXcontrol conID) | ||||||||||||
DESC. | |||||||||||||
Get Control Value (ACC_VALUE) Functions | |||||||||||||
| |||||||||||||
FXint | fxConGetInt (FXcontrol conID, FXint *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetDouble (FXcontrol conID, FXdouble *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetFloat (FXcontrol conID, FXfloat *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetVeci3 (FXcontrol conID, FXint *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetVecd3 (FXcontrol conID, FXdouble *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetVecf3 (FXcontrol conID, FXfloat *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetVeci4 (FXcontrol conID, FXint *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetVecd4 (FXcontrol conID, FXdouble *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetVecf4 (FXcontrol conID, FXfloat *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetCharRGB (FXcontrol conID, FXchar *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetCharRGBA (FXcontrol conID, FXchar *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetChar (FXcontrol conID, FXchar *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetString (FXcontrol conID, FXchar *var, FXint buffer_length) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetObj (FXcontrol conID, FXobject *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetImage (FXcontrol conID, FXimage *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetVoid (FXcontrol conID, FXvoid **var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConGetInt64 (FXcontrol conID, FXint64 *var) | ||||||||||||
DESC. | |||||||||||||
Set Control Value (ACC_VALUE) Functions | |||||||||||||
| |||||||||||||
FXint | fxConSetInt (FXcontrol conID, FXint var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetDouble (FXcontrol conID, FXdouble var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetFloat (FXcontrol conID, FXfloat var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetVeci3 (FXcontrol conID, FXint *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetVecd3 (FXcontrol conID, FXdouble *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetVecf3 (FXcontrol conID, FXfloat *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetVeci4 (FXcontrol conID, FXint *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetVecd4 (FXcontrol conID, FXdouble *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetVecf4 (FXcontrol conID, FXfloat *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetCharRGB (FXcontrol conID, FXchar *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetCharRGBA (FXcontrol conID, FXchar *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetChar (FXcontrol conID, FXchar var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetString (FXcontrol conID, FXchar *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetObj (FXcontrol conID, FXimage var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetImage (FXcontrol conID, FXint var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetVoid (FXcontrol conID, FXvoid *var) | ||||||||||||
DESC. | |||||||||||||
FXint | fxConSetInt64 (FXcontrol conID, FXint64 var) | ||||||||||||
DESC. |
|
Function Signature Macro for control_func().
|
|
IK information, should be created for all "objects".
![]() |
|
A list of channel values, grouped by translation, rotation and scale, commonly seen on a Null among others.
![]() |
|
Contains standard shader properties, may not be appropriate for all shaders.
![]() |
|
Shader name and Opacity settings, most shaders should have this block.
![]() |
|
Contains spline settings such as TCB and Bezier values, seen on anything that contains animatable values.
![]() |
|
A list of channel values, seen on a Slider.
![]() |
|
User implemented control function.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
|
© 2003 pmG WorldWide,
LLC.
|
Last
Updated on Thu Jul 10 04:49:37 2003
|