Action Module Types | |
These macros identify how an Action will execute, whether it will be a one time operation such as in response to a mouse click, or continuous as in response to a mouse drag. You can set the Action Module Type of your Action by calling fxInitAction() in response to S_MODULE_INIT(). | |
#define | FX_ACTMODULE_ONETIME |
Executes once based on mouse click or other one-time operation. | |
#define | FX_ACTMODULE_FULLTIME |
Executes based on mouse drag or other interactive/real-time operation. | |
#define | FX_ACTMODULE_CLICK |
Synonym for FX_ACTMODULE_ONETIME(). | |
#define | FX_ACTMODULE_DRAG |
Synonym for FX_ACTMODULE_FULLTIME(). | |
Action Module Data Classes | |
There are three ways an action can process, one is by executing a Command Module, another is by running an "action script", and the last is by notifying an Action to process (ACT_PROCESS()). All Actions created with messiahAPI are FX_ACTCLASS_MODULE() types. All Actions created with scripts are FX_ACTCLASS_SCRIPT() types. | |
#define | FX_ACTCLASS_COMMAND |
Built in Command action. | |
#define | FX_ACTCLASS_SCRIPT |
Action created with a script. | |
#define | FX_ACTCLASS_MODULE |
Action created through messiahAPI. | |
Action Types | |
These macros represent the types of events that can cause an Action to process. You can retrieve the current Action Type of an Action by calling fxActionType(), to change the type you would call fxActionTypeSet(). | |
#define | FX_ACTTYPE_DRAG |
Mouse is dragging a handle. | |
#define | FX_ACTTYPE_MOUSEDOWN |
Mouse button down over handle. | |
#define | FX_ACTTYPE_DOUBLECLICK |
Double click on handle. | |
#define | FX_ACTTYPE_MOUSEIN |
Mouse has entered the bounding box of the handle's icon. | |
#define | FX_ACTTYPE_MOUSEOUT |
Mouse has left the bounding box of the handle's icon. | |
#define | FX_ACTTYPE_MOUSEUP |
Mouse button released over handle. | |
#define | FX_ACTTYPE_LOSEFOCUS |
Handle has lost focus (another handle was selected). | |
Initialization and Creation Functions | |
FXint | fxInitAction (FXint action_module) |
Initialized an Action in response to S_MODULE_INIT(). | |
FXhandle | fxActionCreate (FXentity target, FXint action_class, FXint action_type, FXchar *action_name, FXint flags) |
Creates a new Action instance. | |
Action Info Functions | |
FXvoid * | fxActionFormatData (FXaction, FXint flags) |
UNKNOWN. | |
FXint | fxActionType (FXaction action, FXint *a_type) |
Retrieves the Action Type of the Action. | |
FXint | fxActionTypeSet (FXaction action, FXint a_type) |
Sets the Action Type of the Action. | |
FXint | fxActionClass (FXaction action, FXint *a_class) |
Retrieves the Action Module Data Class of the Action. | |
Action Hierarchy Functions | |
FXaction | fxActionFirst (FXentity target, FXint flags) |
Returns the first Action attached to the target. | |
FXaction | fxActionNext (FXaction action, FXint flags) |
Returns the next Action after action. | |
FXaction | fxActionPrev (FXaction action, FXint flags) |
Returns the next Action before action. | |
FXint | fxActionSetSibling (FXaction action, FXaction sibID, FXint flags) |
Re-orders action so that it is the sibling of sibID. | |
Action Handle Functions | |
FXhandle | fxActionHandle (FXaction action, FXint flags) |
Retrieve the FXhandle to which action is attached. | |
FXint | fxActionSetHandle (FXaction action, FXhandle handle, FXint flags) |
Set the handle to which action is attached. | |
Action Mouse Functions | |
FXint | fxActionMouse (FXaction action, FXint button, FXint *channel, FXint *coord_sys, FXint *mouse_flags, FXint *flags) |
Gets the current mouse related settings for the specified action. | |
FXint | fxActionMouseSet (FXaction, FXint button, FXint channel, FXint coord_sys, FXint mouse_flags, FXint flags) |
Gets the current mouse related settings for the specified action. | |
FXint | fxActionMouseButton (FXint flags) |
DESC. | |
Action Options Functions | |
FXint | fxActionOptions (FXaction action, FXint *opt, FXint flags) |
DESC. | |
FXint | fxActionOptionsSet (FXaction action, FXint opt, FXint flags) |
DESC. | |
FXint | fxActionOptionsClear (FXaction action, FXint opt, FXint flags) |
DESC. |
|
Retrieves the Action Module Data Class of the Action.
|
|
Creates a new Action instance.
|
|
Gets the current mouse related settings for the specified action.
|
|
DESC.
|
|
Gets the current mouse related settings for the specified action.
|
|
DESC.
|
|
DESC.
|
|
DESC.
|
|
Retrieves the Action Type of the Action.
|
|
Sets the Action Type of the Action.
|
|
Initialized an Action in response to S_MODULE_INIT().
|
© 2003 pmG WorldWide,
LLC.
|
Last
Updated on Thu Jul 10 04:49:36 2003
|