The following actions are passed to any interact entry point in an image effect plug-in.
-
The Generic Describe Action
called to describe the specific
interact
,
-
The Create Instance Action
called just after an instance of the
interact
is created,
-
The Generic Destroy Instance Action
called just before of the
interact
is destroyed,
-
The Draw Action
called to have the interact draw itself,
-
kOfxInteractActionPenMotion
called whenever the interact has the input focus and the pen has moved, regardless of whether the pen is up or down,
-
kOfxInteractActionPenDown
called whenever the interact has the input focus and the pen has changed state to 'down',
-
kOfxInteractActionPenUp
called whenever the interact has the input focus and the pen has changed state to 'up,
-
kOfxInteractActionKeyDown
called whenever the interact has the input focus and a key has gone down,
-
kOfxInteractActionKeyUp
called whenever the interact has the input focus and a key has gone up,
-
kOfxInteractActionKeyRepeat
called whenever the interact has the input focus and a key has gone down and a repeat key sequence has been sent,
-
kOfxInteractActionGainFocus
called whenever the interact gains input focus,
-
kOfxInteractActionLoseFocus
called whenever the interact loses input focus,
An interact cannot be described until an effect has been described.
An interact instance must always be associated with an effect instance. So it gets created after an effect and destroyed before one.
An interact instance should be issued a gain focus action before any key or pen actions are issued, and a lose focus action when
it goes.